Language

ExpressionValue Class

Definition

Provides a mechanism for performing delayed evaluation of a value based on the environment context as runtime.

public abstract class ExpressionValue
type ExpressionValue = class
Public MustInherit Class ExpressionValue
Inheritance
ExpressionValue
Derived

Constructors

Name Description
ExpressionValue()

Methods

Name Description
FromExpression<T>(String)

Creates an ExpressionValue from expression string. Returns null if argument is not an expression

FromLiteral<T>(T)

Creates an ExpressionValue from literal.

FromToken(String)

When T is String, we cannot distiguish between literals and expressions solely by type. Use this function when parsing and you want to err on the side of expressions.

IsExpression(String)
TrimExpression(String)
TryParse<T>(String, ExpressionValue<T>)

Attempts to parse the specified string as an expression value.

Applies to