[]
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. |
Owner | |
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. |
Clear() | |
Deinit() | Finalizes object, should be called when no more calculations expected, for example when report rendering finished. |
ResetValue() | |
SetProp(ScriptValue<T>) | Helper method which can be used in setter of property with type ScriptValue.
Assigns properties of |
ToString() |
Name | Description |
---|---|
implicit operator string(ScriptValue<T>) | Converts the ScriptValue<T>object to a string. |