Class BindingContext
Binding context for a MutualInductance.
Implements
Inherited Members
Namespace: SpiceSharp.Components.MutualInductances
Assembly: SpiceSharp.dll
Syntax
[BindingContextFor(typeof(MutualInductance))]
public class BindingContext : BindingContext, IBindingContextConstructors
BindingContext(MutualInductance, ISimulation, IBehaviorContainer)
Initializes a new instance of the BindingContext class.
Declaration
public BindingContext(MutualInductance component, ISimulation simulation, IBehaviorContainer behaviors)Parameters
| Type | Name | Description | 
|---|---|---|
| MutualInductance | 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
Inductor1Behaviors
Gets the primary inductor behaviors.
Declaration
public IBehaviorContainer Inductor1Behaviors { get; }Property Value
| Type | Description | 
|---|---|
| IBehaviorContainer | The primary inductor behaviors. | 
Inductor2Behaviors
Gets the secondary inductor behaviors.
Declaration
public IBehaviorContainer Inductor2Behaviors { get; }Property Value
| Type | Description | 
|---|---|
| IBehaviorContainer | The secondary inductor behaviors. |