Class CurrentControlledBindingContext
A binding context for controlled sources.
Inheritance
CurrentControlledBindingContext
Inherited Members
Namespace: SpiceSharp.Components.CommonBehaviors
Assembly: SpiceSharp.dll
Syntax
[BindingContextFor(typeof(CurrentControlledCurrentSource))]
[BindingContextFor(typeof(CurrentControlledVoltageSource))]
public class CurrentControlledBindingContext : ComponentBindingContext, ICurrentControlledBindingContext, IComponentBindingContext, IBindingContext
Constructors
CurrentControlledBindingContext(ICurrentControllingComponent, ISimulation, IBehaviorContainer)
Initializes a new instance of the CurrentControlledBindingContext class.
Declaration
public CurrentControlledBindingContext(ICurrentControllingComponent component, ISimulation simulation, IBehaviorContainer behaviors)
Parameters
| Type | Name | Description |
|---|---|---|
| ICurrentControllingComponent | component | The component that creates the behavior. |
| ISimulation | simulation | The simulation for which the behavior is created. |
| IBehaviorContainer | behaviors | The created behaviors. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
Properties
ControlBehaviors
Gets the behaviors of the controlling source.
Declaration
public IBehaviorContainer ControlBehaviors { get; }
Property Value
| Type | Description |
|---|---|
| IBehaviorContainer | The behaviors of the controlling source, or |