Class ComplexPropertyExport
This class can export complex property values.
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public class ComplexPropertyExport : Export<IEventfulSimulation, Complex>, IExport<Complex>
Constructors
ComplexPropertyExport(IEventfulSimulation, Reference, string)
Initializes a new instance of the ComplexPropertyExport class.
Declaration
public ComplexPropertyExport(IEventfulSimulation simulation, Reference entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
IEventfulSimulation | simulation | The simulation. |
Reference | entity | The path to the entity. |
string | propertyName | The name of the property. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
ArgumentException | Thrown if |
Properties
Entity
Gets the path to the entity.
Declaration
public Reference Entity { get; }
Property Value
Type | Description |
---|---|
Reference |
PropertyName
Gets the property name.
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
string |
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
ToString()
Converts the export to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | Returns the export represented as a string. |
Overrides
Implements
Extension Methods
See Also
Export<S, T>