Class SamplerBindingContext
The binding context for a Sampler.
Implements
Inherited Members
Namespace: SpiceSharp.Components.SamplerBehaviors
Assembly: SpiceSharp.dll
Syntax
[BindingContextFor(typeof(Sampler))]
public class SamplerBindingContext : BindingContext, IBindingContext
Constructors
SamplerBindingContext(IEntity, ISimulation, IBehaviorContainer)
Initializes a new instance of the BindingContext class.
Declaration
public SamplerBindingContext(IEntity entity, ISimulation simulation, IBehaviorContainer behaviors)
Parameters
| Type | Name | Description |
|---|---|---|
| IEntity | entity | The entity. |
| ISimulation | simulation | The simulation. |
| IBehaviorContainer | behaviors | The behavior. |
Methods
RegisterToExportEvent(EventHandler<ExportDataEventArgs>)
Registers a method to the ExportSimulationData event.
Declaration
public void RegisterToExportEvent(EventHandler<ExportDataEventArgs> @event)
Parameters
| Type | Name | Description |
|---|---|---|
| EventHandler<ExportDataEventArgs> | event | The method. |