Class ModelBindingContext
Context for binding an IBehavior created by a Model to an ISimulation.
Implements
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
Assembly: SpiceSharp.dll
Syntax
public class ModelBindingContext : BindingContext, IBindingContext
Constructors
ModelBindingContext(IEntity, ISimulation, IBehaviorContainer, Boolean)
Initializes a new instance of the ModelBindingContext class.
Declaration
public ModelBindingContext(IEntity entity, ISimulation simulation, IBehaviorContainer behaviors, bool linkParameters)
Parameters
| Type | Name | Description |
|---|---|---|
| IEntity | entity | The entity creating the behavior. |
| ISimulation | simulation | The simulation for which a behavior is created. |
| IBehaviorContainer | behaviors | The created behaviors. |
| System.Boolean | linkParameters | Flag indicating that parameters should be linked. If false, only cloned parameters are returned by the context. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if |