ExpressionValue Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |