[]
Initializes a new instance of the ConstantExpressionInfo class.
public ConstantExpressionInfo(string expression, object constantResult, ExpressionResultType resultType, bool isExpression)
Type | Name | Description |
---|---|---|
string | expression | A string containing the expression this object represents. |
object | constantResult | The constant resulting value for this expression when GrapeCity.Enterprise.Data.Expressions.ConstantExpressionInfo.GetConstantResult(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionResultType@) is called. This may be the same as the expression (e.g. "1"=="1") or not ("hello world"==hello world). |
ExpressionResultType | resultType | The data type of this expression's resulting value. |
bool | isExpression | True if this object represents an actual expression, or false if it represents a literal string, not to be interpreted as an expression (this value will be used as the value of IsExpression. |