Table of Contents

Class ModBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents an expression builder that applies the arithmetic remainder operation 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 ModBuilder : BinaryOperatorBuilder, IPropertyMappingBuilder, IExpressionBuilder, ICustomTypeDescriptor
Inheritance
ModBuilder
Implements
Inherited Members
Extension Methods

Methods

BuildSelector(Expression, Expression)

Returns the expression that applies the arithmetic remainder operation to the left and right parameters.

protected override Expression BuildSelector(Expression left, Expression right)

Parameters

left Expression

The left input parameter.

right Expression

The right input parameter.

Returns

Expression

The Expression that applies the arithmetic remainder operation to the left and right parameters.