Class VisualizerMappingBuilder
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents an expression builder specifying an observable sequence to be combined in a mashup visualizer.
The VisualizerMapping
operator specifies that the visualizer of the current node should be combined with the target node. The behaviour of the target operator will otherwise remain unaffected, since the subscription to the mapping is not considered as a proper upstream source. This is indicated in the editor by the dashed line linking the property mapping operator to its target.
Note
If multiple visualizer mappings are specified for the target node, the order of visualizer combination follows the connection order, from top to bottom.
Warning
The visualizer of the target node must be a type derived from MashupVisualizer. Furthermore, the target mashup must also support the specified visualizer type as a mashup source. Otherwise, the visualizer mapping will have no effect.
[WorkflowElementCategory(ElementCategory.Property)]
[WorkflowElementIcon("Bonsai:ElementIcon.Visualizer")]
public sealed class VisualizerMappingBuilder : SingleArgumentExpressionBuilder, IExpressionBuilder, INamedElement
- Inheritance
-
VisualizerMappingBuilder
- Implements
- Inherited Members
- Extension Methods
Properties
VisualizerType
Gets or sets a value specifying the visualizer type used to combine the observable sequence with a mashup visualizer.
[Externalizable(false)]
public TypeMapping VisualizerType { get; set; }
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.