Class
BinaryOperatorExpression<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:

cs-api-definition
public abstract class BinaryOperatorExpression<T> : OperatorExpression

Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<T>

Derived Classes: CellReferenceBinaryOperatorExpressionComparisonOperatorExpressionNumberBinaryOperatorExpressionStringBinaryOperatorExpression

Inherited Members OperatorExpression.OperatorInfoRadExpression.GetValue()RadExpression.GetValueAsString()RadExpression.GetValueAsString(CultureInfo)RadExpression.ToString()RadExpression.ToString(CultureInfo)RadExpression.InvalidateValue()RadExpression.AttachToChildrenEvent(IEnumerable<RadExpression>)RadExpression.AttachToChildEvent(RadExpression)RadExpression.OnValueInvalidated()RadExpression.ValueInvalidated

Constructors

BinaryOperatorExpression(RadExpression, RadExpression)

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

Declaration

cs-api-definition
protected BinaryOperatorExpression(RadExpression left, RadExpression right)

Parameters

left

RadExpression

The left operand.

right

RadExpression

The right operand.

Properties

ArgumentConversionRules

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

Declaration

cs-api-definition
public virtual ArgumentConversionRules ArgumentConversionRules { get; }

Property Value

ArgumentConversionRules

The argument conversion rules.

Left

Gets the left-hand operand of the binary operation.

Declaration

cs-api-definition
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

cs-api-definition
public abstract ArgumentType OperandsType { get; }

Property Value

ArgumentType

The type of the operands.

Right

Gets the right-hand operand of the binary operation.

Declaration

cs-api-definition
public RadExpression Right { get; }

Property Value

RadExpression

The right operand.

Methods

GetValueOverride()

Overridable method for getting expression value.

Declaration

cs-api-definition
protected override sealed RadExpression GetValueOverride()

Returns

RadExpression

The value as RadExpression.

Overrides RadExpression.GetValueOverride()

GetValueOverride(T[])

Gets the value.

Declaration

cs-api-definition
protected abstract RadExpression GetValueOverride(T[] operands)

Parameters

operands

T[]

The operands of type T.

Returns

RadExpression

Value as RadExpression.