Class BinaryOperator<T>
Represents a binary (infix) operator with a given precedence
Inheritance
- Object
- BinaryOperator<T>
Declaration
public sealed class BinaryOperator<T> : Object
Type Parameters
| Name | Description |
|---|---|
T |
The type of annotations in the docuemnt |
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 |