Class GenericExport<T>
This class allows any function to be specified.
Implements
IExport<T>
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public class GenericExport<T> : Export<IEventfulSimulation, T>, IExport<T>
Type Parameters
Name | Description |
---|---|
T | The base type. |
Constructors
GenericExport(IEventfulSimulation, Func<T>)
Initializes a new instance of the GenericExport<T> class.
Declaration
public GenericExport(IEventfulSimulation simulation, Func<T> extractor)
Parameters
Type | Name | Description |
---|---|---|
IEventfulSimulation | simulation | The simulation. |
Func<T> | extractor | The function for extracting information. |
Methods
Initialize(object, EventArgs)
Initializes the export.
Declaration
protected override void Initialize(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
object | sender | The object (simulation) sending the event. |
EventArgs | e | The EventArgs instance containing the event data. |
Overrides
Implements
Extension Methods
See Also
Export<S, T>