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
argumentsIEnumerable<Expression>A collection of Expression nodes that represents the input arguments.
sourceExpressionThe expression tree that will be used as input to the encapsulated workflow.
selectorFunc<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.