Class SubcircuitBehavior<B>
A template for a subcircuit behavior.
Inheritance
SubcircuitBehavior<B>
Inherited Members
Namespace: SpiceSharp.Components.Subcircuits
Assembly: SpiceSharp.dll
Syntax
public abstract class SubcircuitBehavior<B> : Behavior, ISubcircuitBehavior, IBehavior, IParameterSetCollection, IParameterSet where B : IBehavior
Type Parameters
Name | Description |
---|---|
B | The behavior type. |
Constructors
SubcircuitBehavior(SubcircuitBindingContext)
Initializes a new instance of the SubcircuitBehavior<B> class.
Declaration
protected SubcircuitBehavior(SubcircuitBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
SubcircuitBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
Behaviors
Gets the behaviors in the subcircuit.
Declaration
protected BehaviorList<B> Behaviors { get; }
Property Value
Type | Description |
---|---|
BehaviorList<B> | The behaviors. |
Methods
FetchBehaviors(SubcircuitBindingContext)
Makes the behavior fetch the behaviors using the binding context.
Declaration
public virtual void FetchBehaviors(SubcircuitBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
SubcircuitBindingContext | context |