Class WorkflowInputBuilder<TSource>
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents an expression builder that generates an observable sequence of the specified type to be used as input to an encapsulated workflow.
The WorkflowInput
operator is used inside nested workflows to route input arguments from the outside. The type of the input sequence and its behavior is dependent on the exact operator in which they are nested. Each WorkflowInput
is uniquely numbered starting from Source1
.
Warning
The numbering of the WorkfklowInput
nodes usually reflects the order of arguments in the outer operator, but this is not always required. In fact, how many input arguments are available in the nested workflow is entirely dependent on the nesting operator.
[WorkflowElementIcon("WorkflowInputBuilder")]
public class WorkflowInputBuilder<TSource> : WorkflowInputBuilder, IExpressionBuilder, INamedElement
Type Parameters
TSource
The type of the elements in the generated observable sequence.
- Inheritance
-
WorkflowInputBuilder<TSource>
- Implements
- Inherited Members
- Extension Methods
Methods
Build(IEnumerable<Expression>)
Returns the source input expression specified in Source.
public override Expression Build(IEnumerable<Expression> arguments)
Parameters
arguments
IEnumerable<Expression>
Returns
- Expression
- A collection of Expression nodes that represents the input arguments. An Expression that will be used as the source of an encapsulated workflow.