Table of Contents

Class RightShiftBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents an expression builder that applies a bitwise right-shift operation on elements of an observable sequence.

Note

If the operator is applied to a sequence of single values, a workflow property will be inferred based on compatible operator overloads and exposed in the property grid. The value of this property will be used as the argument when applying the operator to the elements in the source sequence.

If the operator is applied to a sequence of pairs of values, the second element in the pair is considered to be the argument to the operator.

public class RightShiftBuilder : SelectBuilder, IExpressionBuilder
Inheritance
RightShiftBuilder
Implements
Inherited Members
Extension Methods

Properties

Value

Gets or sets the number of positions by which to shift the bits of the input elements.

public int Value { get; set; }

Property Value

int

Methods

BuildSelector(Expression)

Returns the expression that applies a bitwise right-shift operation to the input parameter.

protected override Expression BuildSelector(Expression expression)

Parameters

expression Expression

The input parameter to the selector.

Returns

Expression

The Expression that applies a bitwise right-shift operation to the input parameter.