ClassBinaryOperatorExpression<T>
Base class for expressions that perform binary operations on two operands of a specified type.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Type Parameters:
T
The type T of the operands.
Syntax:
public abstract class BinaryOperatorExpression<T> : OperatorExpression
Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<T>
Derived Classes:
Inherited Members
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
left
The left operand.
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
The argument conversion rules.
Left
Gets the left-hand operand of the binary operation.
Declaration
public RadExpression Left { get; }
Property Value
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
The type of the operands.
Right
Gets the right-hand operand of the binary operation.
Declaration
public RadExpression Right { get; }
Property Value
The right operand.
Methods
GetValueOverride()
Overridable method for getting expression value.
Declaration
protected override sealed RadExpression GetValueOverride()
Returns
The value as RadExpression.
Overrides
GetValueOverride(T[])
Gets the value.
Declaration
protected abstract RadExpression GetValueOverride(T[] operands)
Parameters
operands
T[]
The operands of type T.
Returns
Value as RadExpression.