Table of Contents

Class InputMappingBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents an expression builder that selects inner properties of elements of the sequence and assigns their values to properties of a workflow element.

Fundamentally, the InputMapping operator works exactly the same way as PropertyMapping, but now the connection from the mapping operator to its target node is done through the upstream sources. In this case, only values from the source sequence can be used to map properties in the target node. However, it is possible to specify which specific member of the original data source will be selected as input to the target node by setting the Selector property.

Whenever the original input sequence sends out a new data item, all the specified property mappings will be updated at the same time before this item is finally allowed to go through and notify the target. In this way, you can be sure that no property changes are performed between upstream notifications.

public class InputMappingBuilder : PropertyMappingBuilder, IExpressionBuilder, INamedElement
Inheritance
InputMappingBuilder
Implements
Inherited Members
Extension Methods

Properties

Selector

Gets or sets a string used to select the input element member to project as output of the sequence.

public string Selector { get; set; }

Property Value

string

TypeMapping

Gets or sets an optional type mapping specifying the data type which the selected properties will be projected into.

[Externalizable(false)]
public TypeMapping TypeMapping { get; set; }

Property Value

TypeMapping