Method Build
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Build(ExpressionBuilder, params Expression[])
Generates an Expression node from a collection of zero or more input arguments. The result can be chained with other builders in a workflow.
public static Expression Build(this ExpressionBuilder builder, params Expression[] arguments)
Parameters
builder
ExpressionBuilderThe expression builder.
arguments
Expression[]A collection of Expression nodes that represents the input arguments.
Returns
- Expression
An Expression tree node.
Build(ExpressionBuilderGraph)
Generates an expression tree from the specified expression builder workflow.
public static Expression Build(this ExpressionBuilderGraph source)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow for which to generate the expression tree.
Returns
- Expression
An Expression tree representing the evaluation of the full expression builder workflow.
Build(ExpressionBuilderGraph, ExpressionBuilder)
Generates an expression tree from the specified expression builder workflow evaluated up to the specified build target.
public static Expression Build(this ExpressionBuilderGraph source, ExpressionBuilder buildTarget)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow for which to generate the expression tree.
buildTarget
ExpressionBuilderThe expression builder node up to which the workflow will be evaluated.
Returns
- Expression
An Expression tree representing the evaluation of the expression builder workflow up to the specified
buildTarget
.
Build(ExpressionBuilderGraph, params Expression[])
Generates an expression tree from the specified expression builder workflow and array of build arguments.
public static Expression Build(this ExpressionBuilderGraph source, params Expression[] buildArguments)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow for which to generate the expression tree.
buildArguments
Expression[]The array of Expression objects to be assigned as workflow input arguments in the context of generating the expression tree.
Returns
- Expression
An Expression tree representing the evaluation of the full expression builder workflow.
Build(ExpressionBuilderGraph, IEnumerable<Expression>)
Generates an expression tree from the specified expression builder workflow and a sequence of build arguments.
public static Expression Build(this ExpressionBuilderGraph source, IEnumerable<Expression> buildArguments)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow for which to generate the expression tree.
buildArguments
IEnumerable<Expression>The sequence of Expression objects to be assigned as workflow input arguments in the context of generating the expression tree.
Returns
- Expression
An Expression tree representing the evaluation of the full expression builder workflow.
Build(ExpressionBuilderGraph, ExpressionBuilder, params Expression[])
Generates an expression tree from the specified expression builder workflow and array of build arguments, evaluated up to the specified build target.
public static Expression Build(this ExpressionBuilderGraph source, ExpressionBuilder buildTarget, params Expression[] buildArguments)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow for which to generate the expression tree.
buildTarget
ExpressionBuilderThe expression builder node up to which the workflow will be evaluated.
buildArguments
Expression[]The array of Expression objects to be assigned as workflow input arguments in the context of generating the expression tree.
Returns
- Expression
An Expression tree representing the evaluation of the expression builder workflow up to the specified
buildTarget
.
Build(ExpressionBuilderGraph, ExpressionBuilder, IEnumerable<Expression>)
Generates an expression tree from the specified expression builder workflow and a sequence of build arguments, evaluated up to the specified build target.
public static Expression Build(this ExpressionBuilderGraph source, ExpressionBuilder buildTarget, IEnumerable<Expression> buildArguments)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow for which to generate the expression tree.
buildTarget
ExpressionBuilderThe expression builder node up to which the workflow will be evaluated.
buildArguments
IEnumerable<Expression>The sequence of Expression objects to be assigned as workflow input arguments in the context of generating the expression tree.
Returns
- Expression
An Expression tree representing the evaluation of the expression builder workflow up to the specified
buildTarget
.