Redigera

Dela via


System.Activities.Expressions Namespace

Provides classes related to expressions.

Classes

Add<TLeft,TRight,TResult>

Computes the sum of two values.

And<TLeft,TRight,TResult>

Computes the bitwise logical AND of two values.

AndAlso

Computes the logical AND of two values. Both values are converted into Boolean, and if both are true then this expression returns true. If one or both values evaluate to false, this expression returns false. AndAlso is the "short circuit" version of the logical AND operator, returning false as soon as one of operands is evaluated to be false.

ArgumentReference<T>

Represents an Argument used as an l-value in an expression.

ArgumentValue<T>

Represents an Argument used as an r-value in an expression.

ArrayItemReference<TItem>

A reference to an item within an array.

ArrayItemValue<TItem>

An item within an array.

As<TOperand,TResult>

Attempts to converts an operand to a given type. If the conversion is not possible the result is set to null.

AssemblyReference

Represents an assembly reference.

Cast<TOperand,TResult>

Attempts to convert an operand to a given type. If the conversion is not possible a run-time error is generated.

CompiledExpressionInvoker

Represents a compiled expression invoker.

DelegateArgumentReference<T>

Represents a DelegateArgument used as an l-value in an expression.

DelegateArgumentValue<T>

Represents a DelegateArgument used as an r-value in an expression.

Divide<TLeft,TRight,TResult>

Computes the quotient of a division operation.

EnvironmentLocationReference<T>

Represents an environment location reference.

EnvironmentLocationValue<T>

Represents the environment location value.

Equal<TLeft,TRight,TResult>

Performs an equality test between two values. If the two values are equal the expression returns true; otherwise, it returns false.

ExpressionServices

A transformation API used to convert environment aware expressions to an activity tree.

FieldReference<TOperand,TResult>

A reference to a field.

FieldValue<TOperand,TResult>

A field value.

GreaterThan<TLeft,TRight,TResult>

Performs a relational test between two values. If the left operand is greater than the right operand, the expression returns true. Otherwise, it returns false.

GreaterThanOrEqual<TLeft,TRight,TResult>

Performs a relational test between two values. If the left operand is greater than or equal to the right operand, the expression returns true; otherwise, it returns false.

IndexerReference<TOperand,TItem>

Represents an element referenced by an object indexer that can be used as an l-value in an expression.

InvokeFunc<TResult>

Invokes an ActivityFunc<TResult>.

InvokeFunc<T,TResult>

Invokes an ActivityFunc<T,TResult>.

InvokeFunc<T1,T2,TResult>

Invokes an ActivityFunc<T1,T2,TResult>.

InvokeFunc<T1,T2,T3,TResult>

Invokes an ActivityFunc<T1,T2,T3,TResult>.

InvokeFunc<T1,T2,T3,T4,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>.

InvokeFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>

Invokes an ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>.

InvokeMethod<TResult>

Calls a public method of a specified object or type.

LambdaReference<T>

Represents a lambda expression used as an l-value, which supports binding of Out arguments.

LambdaSerializationException

The exception that is thrown when a XAML serialization attempt is made on a LambdaValue<TResult> or LambdaReference<T>.

LambdaValue<TResult>

Represents a lambda expression used as an r-value, which supports binding of In arguments.

LessThan<TLeft,TRight,TResult>

Performs a relational test between two values. If the left operand is less than the right operand, the expression returns true. Otherwise, it returns false.

LessThanOrEqual<TLeft,TRight,TResult>

Performs a relational test between two values. If the left operand is less than or equal to the right operand, the expression returns true. Otherwise, it returns false.

Literal<T>

Represents an expression activity that returns a literal value of the specified type.

MultidimensionalArrayItemReference<TItem>

Represents an element in a multidimensional array that can be used as an l-value in an expression.

Multiply<TLeft,TRight,TResult>

Computes the product of two values.

New<TResult>

Creates a new instance of the type specified by the TResult type.

NewArray<TResult>

Creates a new instance of the array type specified by the Tresult type.

Not<TOperand,TResult>

Computes the logical negation of a value expression.

NotEqual<TLeft,TRight,TResult>

Performs an inequality test between two values. If the two values are not equal the expression returns true; otherwise, it returns false.

Or<TLeft,TRight,TResult>

Computes the bitwise logical OR of two values.

OrElse

Computes the logical OR of two values. To do this, both operands are evaluated to boolean values. If both operands are false then the expression returns false. If one or both operands evaluate to true, the expression returns true.

PropertyReference<TOperand,TResult>

A reference to a property.

PropertyValue<TOperand,TResult>

A property value.

Subtract<TLeft,TRight,TResult>

Computes the difference between two values.

TextExpression

Represents a text expression.

ValueTypeFieldReference<TOperand,TResult>

Represents a field on a value type that can be used as an l-value in an expression.

ValueTypeIndexerReference<TOperand,TItem>

Represents an element referenced by an indexer on a value type that can be used as an l-value in an expression.

ValueTypePropertyReference<TOperand,TResult>

Represents a property on a value type that can be used as an l-value in an expression.

VariableReference<T>

Represents a Variable used as an l-value in an expression.

VariableValue<T>

Represents a Variable used as an r-value in an expression.

Interfaces

ITextExpression

Represents a text expression.