Table of Contents

Class SelectBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Provides a base class for expression builders that define a simple selector on the elements of an observable sequence. This is an abstract class.

[WorkflowElementCategory(ElementCategory.Transform)]
public abstract class SelectBuilder : SingleArgumentExpressionBuilder, IExpressionBuilder
Inheritance
SelectBuilder
Implements
Derived
Inherited Members
Extension Methods

Methods

Build(IEnumerable<Expression>)

Generates an Expression node from a collection of input arguments. The result can be chained with other builders in a workflow.

public override Expression Build(IEnumerable<Expression> arguments)

Parameters

arguments IEnumerable<Expression>

A collection of Expression nodes that represents the input arguments.

Returns

Expression

An Expression tree node.

BuildSelector(Expression)

When overridden in a derived class, returns the expression that maps the specified input parameter to the selector result.

protected abstract Expression BuildSelector(Expression expression)

Parameters

expression Expression

The input parameter to the selector.

Returns

Expression

The Expression that maps the input parameter to the selector result.