Class ComplexPropertyExport
This class can export complex property values.
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public class ComplexPropertyExport : Export<Complex>, IExport<Complex>
Constructors
ComplexPropertyExport(ISimulation, Reference, string)
Initializes a new instance of the ComplexPropertyExport class.
Declaration
public ComplexPropertyExport(ISimulation simulation, Reference entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
ISimulation | 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
BuildExtractor(ISimulation)
Builds the extractor for the given simulation.
Declaration
protected override Func<Complex> BuildExtractor(ISimulation simulation)
Parameters
Type | Name | Description |
---|---|---|
ISimulation | simulation | The simulation. |
Returns
Type | Description |
---|---|
Func<Complex> | The extractor. |
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<T>