Class BinaryOperator<T>
Represents a binary (infix) operator with a given precedence.
Inheritance
- object
- BinaryOperator<T>
Inherited Members
- object.GetType()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()
Declaration
public sealed class BinaryOperator<T>
Type Parameters
| Name | Description |
|---|---|
T |
The type of annotations in the document. |
Methods
Apply(Expression<T>, Expression<T>)
Creates an Expression<T> representing
this operator placed between the left
and right expressions.
Declaration
public Expression<T> Apply(Expression<T> left, Expression<T> right)
Parameters
| Type | Name | Description |
|---|---|---|
Expression<T> |
left |
The left-hand argument of the operator. |
Expression<T> |
right |
The right-hand argument of the operator. |
Returns
| Type | Description |
|---|---|
Expression<T> |
An Expression<T> representing
this operator placed between the |