Class LessThanBuilder
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents an expression builder that applies a "less than" numeric comparison on paired elements of an observable sequence.
Binary operators are applied over sequences of pairs of values, as long as the corresponding arithmetic and logic operator exists for the specific combination of input types.
Note
Binary arithmetic and logic operators can also be applied to sequences of single values. In this case, a workflow property will be inferred based on the type of the elements in the source sequence and exposed in the property grid. The value of this property will be used as the right-hand side when applying the binary operator to the elements in the source sequence.
public class LessThanBuilder : BinaryOperatorBuilder, IPropertyMappingBuilder, IExpressionBuilder, ICustomTypeDescriptor
- Inheritance
-
LessThanBuilder
- Implements
- Inherited Members
- Extension Methods
Methods
BuildSelector(Expression, Expression)
Returns the expression that applies a "less than" numeric comparison to the left and right parameters.
protected override Expression BuildSelector(Expression left, Expression right)
Parameters
left
ExpressionThe left input parameter.
right
ExpressionThe right input parameter.
Returns
- Expression
The Expression that applies a "less than" numeric comparison to the left and right parameters.