Class ParsedExpressionConstant
- Namespace
- LfrlAnvil.Computable.Expressions.Constructs
- Assembly
- LfrlAnvil.Computable.Expressions.dll
Represents a constant construct.
public class ParsedExpressionConstant
- Inheritance
-
ParsedExpressionConstant
- Derived
- Inherited Members
Constructors
ParsedExpressionConstant(Type, object?)
Creates a new ParsedExpressionConstant instance.
public ParsedExpressionConstant(Type type, object? value)
Parameters
Properties
Expression
Underlying Expression.
public ConstantExpression Expression { get; }
Property Value
Methods
Create<T>(T)
Creates a new ParsedExpressionConstant<T> instance.
[Pure]
public static ParsedExpressionConstant<T> Create<T>(T value)
Parameters
value
TUnderlying value.
Returns
- ParsedExpressionConstant<T>
New ParsedExpressionConstant<T> instance.
Type Parameters
T
value's type.