Table of Contents

Class LeftShiftBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents an expression builder that applies a bitwise left-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 LeftShiftBuilder : SelectBuilder, IExpressionBuilder
Inheritance
LeftShiftBuilder
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 left-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 left-shift operation to the input parameter.