Table of Contents

Class CombinatorBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents an expression builder which uses a specified combinator instance to process one or more input observable sequences.

public class CombinatorBuilder : CombinatorExpressionBuilder, IPropertyMappingBuilder, IExpressionBuilder, INamedElement
Inheritance
CombinatorBuilder
Implements
Inherited Members
Extension Methods

Constructors

CombinatorBuilder()

Initializes a new instance of the CombinatorBuilder class.

public CombinatorBuilder()

Properties

Combinator

Gets or sets the combinator instance used to process input observable sequences.

public object Combinator { get; set; }

Property Value

object

Name

Gets the display name of the combinator.

public string Name { get; }

Property Value

string

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.

BuildCombinator(IEnumerable<Expression>)

Generates an Expression node that will be combined with any existing property mappings to produce the final output of the expression builder.

protected override Expression BuildCombinator(IEnumerable<Expression> arguments)

Parameters

arguments IEnumerable<Expression>

A collection of Expression nodes that represents the input arguments.

Returns

Expression

An Expression tree node that represents the combinator output.