IntExpression 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.
IntExpression - represents a property which is either an Integer or a string expression which resolves to a Integer.
public class IntExpression : AdaptiveExpressions.Properties.ExpressionProperty<int>
type IntExpression = class
inherit ExpressionProperty<int>
Public Class IntExpression
Inherits ExpressionProperty(Of Integer)
- Inheritance
Remarks
String values are always interpreted as an expression, whether it has '=' prefix or not.
Constructors
IntExpression() |
Initializes a new instance of the IntExpression class. |
IntExpression(Expression) |
Initializes a new instance of the IntExpression class. |
IntExpression(Func<Object,Object>) |
Initializes a new instance of the IntExpression class. |
IntExpression(Int32) |
Initializes a new instance of the IntExpression class. |
IntExpression(JToken) |
Initializes a new instance of the IntExpression class. |
IntExpression(String) |
Initializes a new instance of the IntExpression 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(Expression to IntExpression) |
Converts an Expression instance to an IntExpression instance. |
Implicit(Int32 to IntExpression) |
Converts an integer value to an IntExpression instance. |
Implicit(JToken to IntExpression) |
Converts a JSON Token to an IntExpression instance. |
Implicit(String to IntExpression) |
Converts a string value to an IntExpression instance. |