BoolExpression 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.
BoolExpression - represents a property which is either a boolean or a string expression which resolves to a boolean.
public class BoolExpression : AdaptiveExpressions.Properties.ExpressionProperty<bool>
type BoolExpression = class
inherit ExpressionProperty<bool>
Public Class BoolExpression
Inherits ExpressionProperty(Of Boolean)
- Inheritance
Remarks
String values are always interpreted as an expression, whether it has '=' prefix or not.
Constructors
BoolExpression() |
Initializes a new instance of the BoolExpression class. |
BoolExpression(Boolean) |
Initializes a new instance of the BoolExpression class. |
BoolExpression(Expression) |
Initializes a new instance of the BoolExpression class. |
BoolExpression(Func<Object,Object>) |
Initializes a new instance of the BoolExpression class. |
BoolExpression(JToken) |
Initializes a new instance of the BoolExpression class. |
BoolExpression(String) |
Initializes a new instance of the BoolExpression class. |
Properties
ExpressionText |
Gets or sets the expression text to evaluate to get the value. (Inherited from ExpressionProperty<T>) |
Value |
Gets or sets the raw value of the expression property. (Inherited from ExpressionProperty<T>) |
Methods
ConvertObject(Object) |
Convert raw object to desired value type. (Inherited from ExpressionProperty<T>) |
GetObject(Object) |
Get value as object. (Inherited from ExpressionProperty<T>) |
GetValue(Object) |
Get the value. (Inherited from ExpressionProperty<T>) |
SetObject(Object) |
Set value as object. (Inherited from ExpressionProperty<T>) |
SetValue(Object) |
Sets the value. (Inherited from ExpressionProperty<T>) |
ToExpression() |
This will return the existing expression or ConstantExpression(Value) if the value is non-complex type. (Inherited from ExpressionProperty<T>) |
ToString() |
Returns a string that represents the current object. (Inherited from ExpressionProperty<T>) |
TryGetObject(Object) |
Try Get value as object. (Inherited from ExpressionProperty<T>) |
TryGetValue(Object) |
Try to Get the value. (Inherited from ExpressionProperty<T>) |
Operators
Implicit(Boolean to BoolExpression) |
Converts a boolean value to a BoolExpression. |
Implicit(Expression to BoolExpression) |
Converts an Expression instance to BoolExpression. |
Implicit(JToken to BoolExpression) |
Converts a JSON Token to BoolExpression. |
Implicit(String to BoolExpression) |
Converts a string value to a BoolExpression. |