Class BinaryOperatorExpression<T>
Base class for expressions that perform binary operations on two operands of a specified type.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class BinaryOperatorExpression<T> : OperatorExpression, IPrecalculatedExpressionThreeNode
Type Parameters
|
T
The type T of the operands. |
Constructors
BinaryOperatorExpression(RadExpression, RadExpression)
Initializes a new instance of the BinaryOperatorExpression<T> class with left and right operands.
Declaration
protected BinaryOperatorExpression(RadExpression left, RadExpression right)
Parameters
|
RadExpression
left
The left operand. |
|
RadExpression
right
The right operand. |
Properties
ArgumentConversionRules
Gets the rules used to convert operand values to the expected type during evaluation.
Declaration
public virtual ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
|
ArgumentConversionRules
The argument conversion rules. |
Left
Gets the left-hand operand of the binary operation.
Declaration
public RadExpression Left { get; }
Property Value
|
RadExpression
The left operand. |
OperandsType
Gets the expected argument type for both operands, determining how values are coerced during evaluation.
Declaration
public abstract ArgumentType OperandsType { get; }
Property Value
|
ArgumentType
The type of the operands. |
Right
Gets the right-hand operand of the binary operation.
Declaration
public RadExpression Right { get; }
Property Value
|
RadExpression
The right operand. |
Methods
GetValueOverride()
Overridable method for getting expression value.
Declaration
protected override sealed RadExpression GetValueOverride()
Returns
|
RadExpression
The value as RadExpression. |
Overrides
GetValueOverride(T[])
Gets the value.
Declaration
protected abstract RadExpression GetValueOverride(T[] operands)
Parameters
|
T[]
operands
The operands of type T. |
Returns
|
RadExpression
Value as RadExpression. |