Class ConstantExpression
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)
System.Object.ToString()
Namespace: SpiceSharpParser.Common.Evaluation.Expressions
Assembly: SpiceSharpParser.dll
Syntax
public class ConstantExpression : Expression
Constructors
| Improve this Doc View SourceConstantExpression(Double)
Initializes a new instance of the ConstantExpression class.
Declaration
public ConstantExpression(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value | Value. |
Properties
| Improve this Doc View SourceCanProvideValueDirectly
Declaration
public override bool CanProvideValueDirectly { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceValue
Declaration
public double Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Methods
| Improve this Doc View SourceClone()
Clones the named expression.
Declaration
public override Expression Clone()
Returns
| Type | Description |
|---|---|
| Expression | A clone of named expression. |
Overrides
| Improve this Doc View SourceGetValue()
Declaration
public override double GetValue()
Returns
| Type | Description |
|---|---|
| System.Double |