Class ExternalizedMappingBuilder
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Specifies a set of properties to be externalized from a workflow element.
Warning
In any one workflow, it is not possible to have more than one externalized property with the same name. When externalizing multiple conflicting properties, you can use the DisplayName
property of the externalized mapping to provide distinct unique names for each property. It is also possible to specify different category or description strings to the externalized property for documentation purposes.
When externalized properties are nested inside an operator group, for example inside a GroupWorkflow
, they will be exposed as member properties of the node group itself. This means that when the group node is selected, all named externalized properties will show up in the Properties
panel.
[WorkflowElementCategory(ElementCategory.Property)]
public class ExternalizedMappingBuilder : ZeroArgumentExpressionBuilder, IExpressionBuilder, INamedElement
- Inheritance
-
ExternalizedMappingBuilder
- Implements
- Inherited Members
- Extension Methods
Properties
ExternalizedProperties
Gets the collection of properties to be externalized from the workflow element.
[Externalizable(false)]
public ExternalizedMappingCollection ExternalizedProperties { get; }
Property Value
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.