Class ValueExpression
- Namespace
- NCalc.Domain
- Assembly
- NCalc.Core.dll
public sealed class ValueExpression : LogicalExpression
- Inheritance
-
ValueExpression
- Inherited Members
-
Constructors
ValueExpression()
ValueExpression(bool)
public ValueExpression(bool value)
Parameters
value
bool
ValueExpression(char)
public ValueExpression(char value)
Parameters
value
char
ValueExpression(DateTime)
public ValueExpression(DateTime value)
Parameters
value
DateTime
ValueExpression(decimal)
public ValueExpression(decimal value)
Parameters
value
decimal
ValueExpression(double)
public ValueExpression(double value)
Parameters
value
double
ValueExpression(Guid)
public ValueExpression(Guid value)
Parameters
value
Guid
ValueExpression(int)
public ValueExpression(int value)
Parameters
value
int
ValueExpression(long)
public ValueExpression(long value)
Parameters
value
long
ValueExpression(object)
public ValueExpression(object value)
Parameters
value
object
ValueExpression(string)
public ValueExpression(string value)
Parameters
value
string
ValueExpression(TimeSpan)
public ValueExpression(TimeSpan value)
Parameters
value
TimeSpan
Properties
Type
public ValueType Type { get; set; }
Property Value
- ValueType
Value
public object? Value { get; set; }
Property Value
- object
Methods
Accept<T>(ILogicalExpressionVisitor<T>)
public override T Accept<T>(ILogicalExpressionVisitor<T> visitor)
Parameters
visitor
ILogicalExpressionVisitor<T>
Returns
- T
Type Parameters
T