Class SubcircuitBehavior<B>
A template for a subcircuit behavior.
Inheritance
System.Object
SubcircuitBehavior<B>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SpiceSharp.Components.Subcircuits.Simple
Assembly: SpiceSharp.dll
Syntax
public abstract class SubcircuitBehavior<B> : Behavior, IBehavior, IParameterSetCollection, IParameterSet, ICloneable where B : IBehavior
Type Parameters
| Name | Description |
|---|---|
| B | The behavior type. |
Constructors
SubcircuitBehavior(String, SubcircuitSimulation)
Initializes a new instance of the SubcircuitBehavior<B> class.
Declaration
protected SubcircuitBehavior(string name, SubcircuitSimulation simulation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name. |
| SubcircuitSimulation | simulation | The simulation. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if |
Fields
Behaviors
The behaviors of the subcircuit.
Declaration
protected readonly BehaviorList<B> Behaviors
Field Value
| Type | Description |
|---|---|
| BehaviorList<B> |
Simulation
The subcircuit simulation.
Declaration
protected readonly SubcircuitSimulation Simulation
Field Value
| Type | Description |
|---|---|
| SubcircuitSimulation |