[]
        
(Showing Draft Content)

C1.WPF.Report.ScriptValue-1

ScriptValue<T> Class

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.

Namespace: C1.WPF.Report
Assembly: C1.WPF.Report.dll
Syntax
public abstract class ScriptValue<T>
Type Parameters
Name Description
T

Properties

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.

Methods

Name Description
AssignFrom(ScriptValue<T>)

Assigns (copies) properties from another ScriptValue<T> to the current object.

ToString()

Operators

Name Description
implicit operator string(ScriptValue<T>)

Converts the ScriptValue<T>object to a string.