ExpressionProperty<T> 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.
Base class which defines a Expression or value for a property.
public class ExpressionProperty<T> : AdaptiveExpressions.Properties.IExpressionProperty
type ExpressionProperty<'T> = class
interface IExpressionProperty
Public Class ExpressionProperty(Of T)
Implements IExpressionProperty
Type Parameters
- T
type of object the expression should evaluate to.
- Inheritance
-
ExpressionProperty<T>
- Derived
- Implements
Constructors
| ExpressionProperty<T>() |
Initializes a new instance of the ExpressionProperty<T> class. |
| ExpressionProperty<T>(Object) |
Initializes a new instance of the ExpressionProperty<T> class. |
Properties
| ExpressionText |
Gets or sets the expression text to evaluate to get the value. |
| Value |
Gets or sets the raw value of the expression property. |
Methods
| ConvertObject(Object) |
Convert raw object to desired value type. |
| GetObject(Object) |
Get value as object. |
| GetValue(Object) |
Get the value. |
| SetObject(Object) |
Set value as object. |
| SetValue(Object) |
Sets the value. |
| ToExpression() |
This will return the existing expression or ConstantExpression(Value) if the value is non-complex type. |
| ToString() |
Returns a string that represents the current object. |
| TryGetObject(Object) |
Try Get value as object. |
| TryGetValue(Object) |
Try to Get the value. |
Operators
| Implicit(Expression to ExpressionProperty<T>) | |
| Implicit(String to ExpressionProperty<T>) | |
| Implicit(T to ExpressionProperty<T>) |