[]
The abstract base class for types such as ScriptStringValue, ScriptObjectValue and others that allow to specify a value either as a literal or as an expression.
public abstract class ScriptValue<T>
Name | Description |
---|---|
T |
Name | Description |
---|---|
Expression | Gets or sets an expression used to calculate value of this ScriptValue<T>. Setting this value forces IsExpression to true. |
IsExpression | Gets or sets a value indicating whether the current ScriptValue<T> is specified as an expression. |
Value | Gets or sets a value of this ScriptValue<T>. Settings this value forces IsExpression to false. |
ValueAsString | Gets a string representing the value of this ScriptValue<T> object. |
Name | Description |
---|---|
AssignFrom(ScriptValue<T>) | Assigns (copies) properties from another ScriptValue<T> to the current object. |
ToString() |
Name | Description |
---|---|
implicit operator string(ScriptValue<T>) | Converts the ScriptValue<T>object to a string. |