Class LessThanOrEqualToExpression
Evaluates whether the left operand is less than or equal to the right operand; implements the less-than-or-equal-to (<=) comparison operator.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class LessThanOrEqualToExpression : ComparisonOperatorExpression, IPrecalculatedExpressionThreeNode
Constructors
LessThanOrEqualToExpression(RadExpression, RadExpression)
Initializes a new instance of the LessThanOrEqualToExpression class with the specified left and right operands.
Declaration
public LessThanOrEqualToExpression(RadExpression left, RadExpression right)
Parameters
|
RadExpression
left
The left. |
|
RadExpression
right
The right. |
Properties
OperatorInfo
Gets metadata about the less-than-or-equal-to operator including its precedence and associativity.
Declaration
public override OperatorInfo OperatorInfo { get; }
Property Value
|
OperatorInfo
The operator info as OperatorInfo. |
Overrides
Methods
CompareBooleanExpressions(BooleanExpression, BooleanExpression)
Compares two boolean expressions and returns true unless left is true and right is false.
Declaration
protected override bool CompareBooleanExpressions(BooleanExpression left, BooleanExpression right)
Parameters
|
BooleanExpression
left
The left. |
|
BooleanExpression
right
The right. |
Returns
|
System.Boolean
Boolean result. |
Overrides
CompareDifferentTypeExpressions(ConstantExpression, ConstantExpression)
Compares expressions of different types and returns true if the left type has lower precedence than the right type.
Declaration
protected override bool CompareDifferentTypeExpressions(ConstantExpression leftOperandValue, ConstantExpression rightOperandValue)
Parameters
|
ConstantExpression
leftOperandValue
The left operand value. |
|
ConstantExpression
rightOperandValue
The right operand value. |
Returns
|
System.Boolean
Boolean result. |
Overrides
CompareEmptyExpressions(EmptyExpression, EmptyExpression)
Compares two empty expressions and always returns true since empty values are equal.
Declaration
protected override bool CompareEmptyExpressions(EmptyExpression left, EmptyExpression right)
Parameters
|
EmptyExpression
left
The left. |
|
EmptyExpression
right
The right. |
Returns
|
System.Boolean
Boolean result. |
Overrides
CompareNumberExpressions(NumberExpression, NumberExpression)
Compares two number expressions and returns true if the left value is less than or equal to the right value.
Declaration
protected override bool CompareNumberExpressions(NumberExpression left, NumberExpression right)
Parameters
|
NumberExpression
left
The left. |
|
NumberExpression
right
The right. |
Returns
|
System.Boolean
Boolean result. |
Overrides
CompareStringExpressions(StringExpression, StringExpression)
Compares two string expressions and returns true if the left is alphabetically less than or equal to the right using case-insensitive comparison.
Declaration
protected override bool CompareStringExpressions(StringExpression left, StringExpression right)
Parameters
|
StringExpression
left
The left. |
|
StringExpression
right
The right. |
Returns
|
System.Boolean
Boolean result. |