Show / Hide Table of Contents

Struct UniversalExpression

Represents any expression with full support of overloaded operators and conversion from primitive data types.

Implements
IDynamicMetaObjectProvider
IEquatable<UniversalExpression>
Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public struct UniversalExpression : IExpressionBuilder<Expression>, IDynamicMetaObjectProvider, IEquatable<UniversalExpression>
Remarks

This class is intended for expression building purposes only.

Properties

| Improve this Doc View Source

NodeType

Gets the node type of this expression.

Declaration
public ExpressionType NodeType { get; }
Property Value
Type Description
ExpressionType
| Improve this Doc View Source

Type

Gets the static type of this expression.

Declaration
public Type Type { get; }
Property Value
Type Description
Type

Methods

| Improve this Doc View Source

AndAlso(UniversalExpression)

Constructs binary expression that represents a conditional AND operation that evaluates the second operand only if the this expression evaluates to true.

Declaration
public UniversalExpression AndAlso(UniversalExpression other)
Parameters
Type Name Description
UniversalExpression other

The second operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

AndAlso(Expression)

Constructs binary expression that represents a conditional AND operation that evaluates the second operand only if the this expression evaluates to true.

Declaration
public UniversalExpression AndAlso(Expression other)
Parameters
Type Name Description
Expression other

The second operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

ArrayLength()

Returns expression representing array length.

Declaration
public UniversalExpression ArrayLength()
Returns
Type Description
UniversalExpression

Array length expression.

| Improve this Doc View Source

Await()

Constructs suspension point in the execution of the lambda function until the awaited task completes.

Declaration
public UniversalExpression Await()
Returns
Type Description
UniversalExpression

await expression.

See Also
Await expression
| Improve this Doc View Source

Call(MethodInfo, Expression[])

Constructs instance method call expression.

Declaration
public UniversalExpression Call(MethodInfo method, params Expression[] arguments)
Parameters
Type Name Description
MethodInfo method

The method to be called.

Expression[] arguments

The method arguments.

Returns
Type Description
UniversalExpression

The method call expression.

| Improve this Doc View Source

Call(String, Expression[])

Constructs instance method call expression.

Declaration
public UniversalExpression Call(string methodName, params Expression[] arguments)
Parameters
Type Name Description
String methodName

The name of the method to be called.

Expression[] arguments

The method arguments.

Returns
Type Description
UniversalExpression

The method call expression.

| Improve this Doc View Source

Call(Type, String, Expression[])

Constructs interface or base class method call expression.

Declaration
public UniversalExpression Call(Type interfaceType, string methodName, params Expression[] arguments)
Parameters
Type Name Description
Type interfaceType

The interface or base class.

String methodName

The name of the method in the interface or base class to be called.

Expression[] arguments

The method arguments.

Returns
Type Description
UniversalExpression

The method call expression.

| Improve this Doc View Source

Concat(Expression[])

Constructs string concatenation expression.

Declaration
public UniversalExpression Concat(params Expression[] other)
Parameters
Type Name Description
Expression[] other

Other strings to concatenate.

Returns
Type Description
UniversalExpression

An expression presenting concatenation.

| Improve this Doc View Source

Condition(Expression, Expression, Type)

Constructs conditional expression.

Declaration
public UniversalExpression Condition(Expression ifTrue = null, Expression ifFalse = null, Type type = null)
Parameters
Type Name Description
Expression ifTrue

Positive branch.

Expression ifFalse

Negative branch.

Type type

The type of conditional expression. Default is .

Returns
Type Description
UniversalExpression

Conditional expression.

| Improve this Doc View Source

Condition<R>(Expression, Expression)

Constructs conditional expression.

Declaration
public UniversalExpression Condition<R>(Expression ifTrue, Expression ifFalse)
Parameters
Type Name Description
Expression ifTrue

Positive branch.

Expression ifFalse

Negative branch.

Returns
Type Description
UniversalExpression

Conditional expression.

Type Parameters
Name Description
R

The type of conditional expression.

| Improve this Doc View Source

Convert(Type)

Constructs type conversion expression.

Declaration
public UniversalExpression Convert(Type targetType)
Parameters
Type Name Description
Type targetType

The target type.

Returns
Type Description
UniversalExpression

The type conversion expression.

| Improve this Doc View Source

Convert<T>()

Constructs type conversion expression.

Declaration
public UniversalExpression Convert<T>()
Returns
Type Description
UniversalExpression

The type conversion expression.

Type Parameters
Name Description
T

The target type.

| Improve this Doc View Source

ElementAt(Expression[])

Constructs array element access expression.

Declaration
public UniversalExpression ElementAt(params Expression[] indexes)
Parameters
Type Name Description
Expression[] indexes

Array element indicies.

Returns
Type Description
UniversalExpression

Array element access expression.

| Improve this Doc View Source

Equals(UniversalExpression)

Determines whether this universal expression represents the same underlying expression as other.

Declaration
public bool Equals(UniversalExpression other)
Parameters
Type Name Description
UniversalExpression other

Other expression to compare.

Returns
Type Description
Boolean

true, if both expressions are equal; otherwise, false.

| Improve this Doc View Source

Equals(Object)

Determines whether this universal expression represents the same underlying expression as other.

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
Object other

Other expression to compare.

Returns
Type Description
Boolean

true, if both expressions are equal; otherwise, false.

| Improve this Doc View Source

Field(FieldInfo)

Constructs instance field access expression.

Declaration
public UniversalExpression Field(FieldInfo field)
Parameters
Type Name Description
FieldInfo field

Field metadata.

Returns
Type Description
UniversalExpression

Field access expression.

| Improve this Doc View Source

Field(String)

Constructs instance field access expression.

Declaration
public UniversalExpression Field(string fieldName)
Parameters
Type Name Description
String fieldName

The name of the instance field.

Returns
Type Description
UniversalExpression

Field access expression.

| Improve this Doc View Source

GetHashCode()

Computes the hash code for the underlying expression.

Declaration
public override int GetHashCode()
Returns
Type Description
Int32

The hash code of the underlying expression.

| Improve this Doc View Source

InstanceOf(Type)

Constructs type check expression.

Declaration
public UniversalExpression InstanceOf(Type targetType)
Parameters
Type Name Description
Type targetType

The target type.

Returns
Type Description
UniversalExpression

The type test expression.

| Improve this Doc View Source

InstanceOf<T>()

Constructs type check expression.

Declaration
public UniversalExpression InstanceOf<T>()
Returns
Type Description
UniversalExpression

The type test expression.

Type Parameters
Name Description
T

The target type.

| Improve this Doc View Source

Invoke(Expression[])

Constructs delegate invocation expression.

Declaration
public UniversalExpression Invoke(params Expression[] arguments)
Parameters
Type Name Description
Expression[] arguments

Invocation arguments.

Returns
Type Description
UniversalExpression

Invocation expression.

| Improve this Doc View Source

Loop()

Constructs loop statement which has a body equal to this expression.

Declaration
public UniversalExpression Loop()
Returns
Type Description
UniversalExpression

Loop statement.

| Improve this Doc View Source

Loop(LabelTarget)

Constructs loop statement which has a body equal to this expression.

Declaration
public UniversalExpression Loop(LabelTarget break)
Parameters
Type Name Description
LabelTarget break

Optional loop break label which will installed automatically.

Returns
Type Description
UniversalExpression

Loop statement.

| Improve this Doc View Source

Loop(LabelTarget, LabelTarget)

Constructs loop statement which has a body equal to this expression.

Declaration
public UniversalExpression Loop(LabelTarget break, LabelTarget continue)
Parameters
Type Name Description
LabelTarget break

Optional loop break label which will installed automatically.

LabelTarget continue

Optional loop continuation which will be installed automatically.

Returns
Type Description
UniversalExpression

Loop statement.

| Improve this Doc View Source

op_Exponent(UniversalExpression, UniversalExpression)

Constructs raising a number to a power expression.

Declaration
public static UniversalExpression op_Exponent(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

op_Exponent(UniversalExpression, Expression)

Constructs raising a number to a power expression.

Declaration
public static UniversalExpression op_Exponent(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

op_LeftShift(UniversalExpression, UniversalExpression)

Bitwise left-shift expression.

Declaration
public static UniversalExpression op_LeftShift(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

op_LeftShift(UniversalExpression, Expression)

Bitwise left-shift expression.

Declaration
public static UniversalExpression op_LeftShift(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

op_RightShift(UniversalExpression, UniversalExpression)

Bitwise right-shift expression.

Declaration
public static UniversalExpression op_RightShift(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

op_RightShift(UniversalExpression, Expression)

Bitwise right-shift expression.

Declaration
public static UniversalExpression op_RightShift(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

OrElse(UniversalExpression)

Binary expression that represents a conditional OR operation that evaluates the second operand only if the this expression evaluates to false.

Declaration
public UniversalExpression OrElse(UniversalExpression other)
Parameters
Type Name Description
UniversalExpression other

The second operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

OrElse(Expression)

Binary expression that represents a conditional OR operation that evaluates the second operand only if the this expression evaluates to false.

Declaration
public UniversalExpression OrElse(Expression other)
Parameters
Type Name Description
Expression other

The second operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Property(PropertyInfo, Expression[])

Constructs instance property or indexer access expression.

Declaration
public UniversalExpression Property(PropertyInfo property, params Expression[] indicies)
Parameters
Type Name Description
PropertyInfo property

Property metadata.

Expression[] indicies

Indexer indicies.

Returns
Type Description
UniversalExpression

Property access expression.

| Improve this Doc View Source

Property(String, Expression[])

Constructs instance property or indexer access expression.

Declaration
public UniversalExpression Property(string propertyName, params Expression[] indicies)
Parameters
Type Name Description
String propertyName

The name of the instance property or indexer.

Expression[] indicies

Indexer indicies.

Returns
Type Description
UniversalExpression

Property access expression.

| Improve this Doc View Source

Property(Type, String, Expression[])

Constructs instance property or indexer access expression declared in the given interface or base type.

Declaration
public UniversalExpression Property(Type interfaceType, string propertyName, params Expression[] indicies)
Parameters
Type Name Description
Type interfaceType

The interface or base class declaring property.

String propertyName

The name of the instance property or indexer.

Expression[] indicies

Indexer indicies.

Returns
Type Description
UniversalExpression

Property access expression.

| Improve this Doc View Source

Throw()

Constructs throw statement.

Declaration
public UnaryExpression Throw()
Returns
Type Description
UnaryExpression

throw statement.

| Improve this Doc View Source

ToString()

Returns textual representation of this expression.

Declaration
public override string ToString()
Returns
Type Description
String

The textual representation of this expression.

| Improve this Doc View Source

TryConvert(Type)

Constructs an expression that represents an explicit reference or boxing conversion where null is supplied if the conversion fails.

Declaration
public UniversalExpression TryConvert(Type targetType)
Parameters
Type Name Description
Type targetType

The target type.

Returns
Type Description
UniversalExpression

Type conversion expression.

| Improve this Doc View Source

TryConvert<T>()

Constructs an expression that represents an explicit reference or boxing conversion where null is supplied if the conversion fails.

Declaration
public UniversalExpression TryConvert<T>()
Returns
Type Description
UniversalExpression

Type conversion expression.

Type Parameters
Name Description
T

The target type.

| Improve this Doc View Source

Unbox(Type)

Explicit unboxing.

Declaration
public UniversalExpression Unbox(Type targetType)
Parameters
Type Name Description
Type targetType

The target value type.

Returns
Type Description
UniversalExpression

Unboxing expression.

| Improve this Doc View Source

Unbox<T>()

Explicit unboxing.

Declaration
public UniversalExpression Unbox<T>()

    where T : struct
Returns
Type Description
UniversalExpression

Unboxing expression.

Type Parameters
Name Description
T

The target value type.

Operators

| Improve this Doc View Source

Addition(UniversalExpression, UniversalExpression)

Binary arithmetic addition expression.

Declaration
public static UniversalExpression operator +(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Addition(UniversalExpression, Expression)

Binary arithmetic addition expression.

Declaration
public static UniversalExpression operator +(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

BitwiseAnd(UniversalExpression, UniversalExpression)

Binary logical AND expression.

Declaration
public static UniversalExpression operator &(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

BitwiseAnd(UniversalExpression, Expression)

Binary logical AND expression.

Declaration
public static UniversalExpression operator &(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

BitwiseOr(UniversalExpression, UniversalExpression)

Binary logical OR expression.

Declaration
public static UniversalExpression operator |(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

BitwiseOr(UniversalExpression, Expression)

Binary logical OR expression.

Declaration
public static UniversalExpression operator |(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Division(UniversalExpression, UniversalExpression)

Binary arithmetic division expression.

Declaration
public static UniversalExpression operator /(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Division(UniversalExpression, Expression)

Binary arithmetic division expression.

Declaration
public static UniversalExpression operator /(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Equality(UniversalExpression, UniversalExpression)

Equality comparison.

Declaration
public static UniversalExpression operator ==(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Equality(UniversalExpression, Expression)

Equality comparison.

Declaration
public static UniversalExpression operator ==(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

ExclusiveOr(UniversalExpression, UniversalExpression)

Binary logical exclusive OR expression.

Declaration
public static UniversalExpression operator ^(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

ExclusiveOr(UniversalExpression, Expression)

Binary logical exclusive OR expression.

Declaration
public static UniversalExpression operator ^(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Explicit(Expression to UniversalExpression)

Wraps regular Expression Tree node into universal expression.

Declaration
public static explicit operator UniversalExpression(Expression expr)
Parameters
Type Name Description
Expression expr

An expression to be wrapped.

Returns
Type Description
UniversalExpression

Universal expression representing original expression.

| Improve this Doc View Source

GreaterThan(UniversalExpression, UniversalExpression)

"greater than" numeric comparison.

Declaration
public static UniversalExpression operator>(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

GreaterThan(UniversalExpression, Expression)

"greater than" numeric comparison.

Declaration
public static UniversalExpression operator>(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

GreaterThanOrEqual(UniversalExpression, UniversalExpression)

"greater than or equal" numeric comparison.

Declaration
public static UniversalExpression operator >=(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

GreaterThanOrEqual(UniversalExpression, Expression)

"greater than or equal" numeric comparison.

Declaration
public static UniversalExpression operator >=(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Implicit(UniversalExpression to Expression)

Converts universal expression into regular LINQ expression.

Declaration
public static implicit operator Expression(UniversalExpression view)
Parameters
Type Name Description
UniversalExpression view

Universal expression to be converted.

Returns
Type Description
Expression
| Improve this Doc View Source

Implicit(FormattableString to UniversalExpression)

Constructs formatted string expression.

Declaration
public static implicit operator UniversalExpression(FormattableString value)
Parameters
Type Name Description
FormattableString value

Formatter string representation.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Boolean to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(bool value)
Parameters
Type Name Description
Boolean value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Byte to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(byte value)
Parameters
Type Name Description
Byte value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Char to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(char value)
Parameters
Type Name Description
Char value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Decimal to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(decimal value)
Parameters
Type Name Description
Decimal value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Double to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(double value)
Parameters
Type Name Description
Double value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Int16 to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(short value)
Parameters
Type Name Description
Int16 value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Int32 to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(int value)
Parameters
Type Name Description
Int32 value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Int64 to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(long value)
Parameters
Type Name Description
Int64 value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(SByte to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(sbyte value)
Parameters
Type Name Description
SByte value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(Single to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(float value)
Parameters
Type Name Description
Single value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(String to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(string value)
Parameters
Type Name Description
String value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(UInt16 to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(ushort value)
Parameters
Type Name Description
UInt16 value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(UInt32 to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(uint value)
Parameters
Type Name Description
UInt32 value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Implicit(UInt64 to UniversalExpression)

Constructs constant value of type.

Declaration
public static implicit operator UniversalExpression(ulong value)
Parameters
Type Name Description
UInt64 value

The constant value.

Returns
Type Description
UniversalExpression
| Improve this Doc View Source

Inequality(UniversalExpression, UniversalExpression)

Inequality comparison.

Declaration
public static UniversalExpression operator !=(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Inequality(UniversalExpression, Expression)

Inequality comparison.

Declaration
public static UniversalExpression operator !=(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

LeftShift(UniversalExpression, Int32)

Bitwise left-shift expression.

Declaration
public static UniversalExpression operator <<(UniversalExpression left, int right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Int32 right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

LessThan(UniversalExpression, UniversalExpression)

"less than" numeric comparison.

Declaration
public static UniversalExpression operator <(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

LessThan(UniversalExpression, Expression)

"less than" numeric comparison.

Declaration
public static UniversalExpression operator <(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

LessThanOrEqual(UniversalExpression, UniversalExpression)

"less than or equal" numeric comparison.

Declaration
public static UniversalExpression operator <=(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

LessThanOrEqual(UniversalExpression, Expression)

"less than or equal" numeric comparison.

Declaration
public static UniversalExpression operator <=(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

LogicalNot(UniversalExpression)

Logical NOT expression.

Declaration
public static UniversalExpression operator !(UniversalExpression expr)
Parameters
Type Name Description
UniversalExpression expr

The operand.

Returns
Type Description
UniversalExpression

Constructed logical NOT expression.

| Improve this Doc View Source

Modulus(UniversalExpression, UniversalExpression)

Arithmetic remainder expression.

Declaration
public static UniversalExpression operator %(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Modulus(UniversalExpression, Expression)

Arithmetic remainder expression.

Declaration
public static UniversalExpression operator %(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Multiply(UniversalExpression, UniversalExpression)

Binary arithmetic multiplication expression.

Declaration
public static UniversalExpression operator *(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Multiply(UniversalExpression, Expression)

Binary arithmetic multiplication expression.

Declaration
public static UniversalExpression operator *(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

OnesComplement(UniversalExpression)

Ones complement.

Declaration
public static UniversalExpression operator ~(UniversalExpression expr)
Parameters
Type Name Description
UniversalExpression expr

The operand.

Returns
Type Description
UniversalExpression

Ones complement expression.

| Improve this Doc View Source

RightShift(UniversalExpression, Int32)

Bitwise right-shift expression.

Declaration
public static UniversalExpression operator >>(UniversalExpression left, int right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Int32 right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Subtraction(UniversalExpression, UniversalExpression)

Binary arithmetic subtraction expression.

Declaration
public static UniversalExpression operator -(UniversalExpression left, UniversalExpression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

UniversalExpression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

Subtraction(UniversalExpression, Expression)

Binary arithmetic subtraction expression.

Declaration
public static UniversalExpression operator -(UniversalExpression left, Expression right)
Parameters
Type Name Description
UniversalExpression left

The left operand.

Expression right

The right operand.

Returns
Type Description
UniversalExpression

Binary expression.

| Improve this Doc View Source

UnaryNegation(UniversalExpression)

Unary minus.

Declaration
public static UniversalExpression operator -(UniversalExpression expr)
Parameters
Type Name Description
UniversalExpression expr

The operand.

Returns
Type Description
UniversalExpression

Unary expression.

| Improve this Doc View Source

UnaryPlus(UniversalExpression)

Unary plus.

Declaration
public static UniversalExpression operator +(UniversalExpression expr)
Parameters
Type Name Description
UniversalExpression expr

The operand.

Returns
Type Description
UniversalExpression

Unary expression.

Implements

IDynamicMetaObjectProvider
IEquatable<>

Extension Methods

ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX