Table of Contents

Method BuildWorkflow

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

BuildWorkflow(IEnumerable<Expression>, Expression, Func<Expression, Expression>)

Builds the output of the encapsulated workflow for the specified source and applies a selector taking into account any available workflow mappings.

protected Expression BuildWorkflow(IEnumerable<Expression> arguments, Expression source, Func<Expression, Expression> selector)

Parameters

arguments IEnumerable<Expression>

A collection of Expression nodes that represents the input arguments.

source Expression

The expression tree that will be used as input to the encapsulated workflow.

selector Func<Expression, Expression>

A selector that will be applied to the output of the encapsulated workflow to determine the final output of the expression builder.

Returns

Expression

An Expression tree that is the result of applying the encapsulated workflow to the specified input source. Property mappings are also resolved in the correct sequence.