Show / Hide Table of Contents

Class BindingContext

Binding context for a MutualInductance.

Inheritance
object
BindingContext
BindingContext
Implements
IBindingContext
Inherited Members
BindingContext.Simulation
BindingContext.Entity
BindingContext.Behaviors
BindingContext.GetState<S>()
BindingContext.TryGetState<S>(out S)
BindingContext.UsesState<S>()
BindingContext.GetSimulationParameterSet<P>()
BindingContext.TryGetSimulationParameterSet<P>(out P)
BindingContext.GetParameterSet<P>()
BindingContext.TryGetParameterSet<P>(out P)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Components.MutualInductances
Assembly: SpiceSharp.dll
Syntax
[BindingContextFor(typeof(MutualInductance))]
public class BindingContext : BindingContext, IBindingContext

Constructors

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 component, simulation or behaviors is null.

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.

Implements

IBindingContext

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

BindingContext
In this article
Back to top Generated by DocFX