Class Component
A SPICE component.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SpiceSharpParser.Models.Netlist.Spice.Objects
Assembly: SpiceSharpParser.dll
Syntax
public class Component : Statement
Constructors
| Improve this Doc View SourceComponent(String, ParameterCollection, SpiceLineInfo)
Declaration
public Component(string name, ParameterCollection pinsAndParameters, SpiceLineInfo lineInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
ParameterCollection | pinsAndParameters | |
SpiceLineInfo | lineInfo |
Properties
| Improve this Doc View SourceName
Gets or sets the name of component.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NameParameter
Gets or sets name parameter.
Declaration
public Parameter NameParameter { get; set; }
Property Value
Type | Description |
---|---|
Parameter |
PinsAndParameters
Gets or sets pins and components parameters.
Declaration
public ParameterCollection PinsAndParameters { get; set; }
Property Value
Type | Description |
---|---|
ParameterCollection |
Methods
| Improve this Doc View SourceClone()
Clones the object.
Declaration
public override SpiceObject Clone()
Returns
Type | Description |
---|---|
SpiceObject | A clone of the object. |
Overrides
| Improve this Doc View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.Object.ToString()