ArrayExpression<T> Class

Definition

ArrayExpression - represents a property which is either a value of array of T or a string expression to bind to a array of T.

public class ArrayExpression<T> : AdaptiveExpressions.Properties.ExpressionProperty<System.Collections.Generic.List<T>>
type ArrayExpression<'T> = class
    inherit ExpressionProperty<List<'T>>
Public Class ArrayExpression(Of T)
Inherits ExpressionProperty(Of List(Of T))

Type Parameters

T

type of object in the array.

Inheritance
ArrayExpression<T>

Remarks

String values are always interpreted as an expression, whether it has '=' prefix or not.

Constructors

ArrayExpression<T>()

Initializes a new instance of the ArrayExpression<T> class.

ArrayExpression<T>(Expression)

Initializes a new instance of the ArrayExpression<T> class.

ArrayExpression<T>(Func<Object,Object>)

Initializes a new instance of the ArrayExpression<T> class.

ArrayExpression<T>(IEnumerable<T>)

Initializes a new instance of the ArrayExpression<T> class.

ArrayExpression<T>(JToken)

Initializes a new instance of the ArrayExpression<T> class.

ArrayExpression<T>(String)

Initializes a new instance of the ArrayExpression<T> 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 ArrayExpression<T>)
Implicit(JToken to ArrayExpression<T>)
Implicit(List<T> to ArrayExpression<T>)
Implicit(String to ArrayExpression<T>)
Implicit(T[] to ArrayExpression<T>)

Applies to