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
Initializes a new instance of the BinaryOperatorExpression<T> class with left and right operands.
protected BinaryOperatorExpression(RadExpression left, RadExpression right, Workbook workbook = null)
The left operand.
rightRadExpressionThe right operand.
workbookWorkbookThe workbook.
Methods
Gets the expressions that the value of this expression depends on.
protected virtual IReadOnlyList<RadExpression> GetPrecedents()
Overridable method for getting expression value.
protected override sealed RadExpression GetValueOverride()
The value as RadExpression.
Overrides:
Gets the value.
protected abstract RadExpression GetValueOverride(T[] operands)
The operands of type T.
Returns:Value as RadExpression.
Properties
Gets the rules used to convert operand values to the expected type during evaluation.
public virtual ArgumentConversionRules ArgumentConversionRules { get; }
The argument conversion rules.
Gets the left-hand operand of the binary operation.
public RadExpression Left { get; }
The left operand.
Gets the expected argument type for both operands, determining how values are coerced during evaluation.
public abstract ArgumentType OperandsType { get; }
The type of the operands.
Gets the right-hand operand of the binary operation.
public RadExpression Right { get; }
The right operand.