New to Telerik Document ProcessingStart a free 30-day trial

Base class for expressions that perform binary operations on two operands of a specified type.

Definition

Constructors

Initializes a new instance of the BinaryOperatorExpression<T> class with left and right operands.

C#
protected BinaryOperatorExpression(RadExpression left, RadExpression right, Workbook workbook = null)
Parameters:leftRadExpression

The left operand.

rightRadExpression

The right operand.

workbookWorkbook

The workbook.

Methods

Gets the expressions that the value of this expression depends on.

C#
protected virtual IReadOnlyList<RadExpression> GetPrecedents()
Returns:

IReadOnlyList<RadExpression>

Overridable method for getting expression value.

C#
protected override sealed RadExpression GetValueOverride()
Returns:

RadExpression

The value as RadExpression.

Overrides: RadExpression.GetValueOverride()

Gets the value.

C#
protected abstract RadExpression GetValueOverride(T[] operands)
Parameters:operandsT[]

The operands of type T.

Returns:

RadExpression

Value as RadExpression.

Properties

Gets the rules used to convert operand values to the expected type during evaluation.

C#
public virtual ArgumentConversionRules ArgumentConversionRules { get; }
Property Value:

The argument conversion rules.

Gets the left-hand operand of the binary operation.

C#
public RadExpression Left { get; }
Property Value:

The left operand.

Gets the expected argument type for both operands, determining how values are coerced during evaluation.

C#
public abstract ArgumentType OperandsType { get; }
Property Value:

The type of the operands.

Gets the right-hand operand of the binary operation.

C#
public RadExpression Right { get; }
Property Value:

The right operand.