• Docs
  • Learn
  • Community
    Search Results for

      Show / Hide Table of Contents

      Class InputMappingBuilder

      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.

      Inheritance
      Object
      ExpressionBuilder
      SingleArgumentExpressionBuilder
      PropertyMappingBuilder
      InputMappingBuilder
      Implements
      IExpressionBuilder
      INamedElement
      Inherited Members
      PropertyMappingBuilder.PropertyMappings
      PropertyMappingBuilder.INamedElement.Name
      PropertyMappingBuilder.Build(IEnumerable<Expression>)
      SingleArgumentExpressionBuilder.ArgumentRange
      ExpressionBuilder.ToString()
      ExpressionBuilder.Unwrap(ExpressionBuilder)
      ExpressionBuilder.GetWorkflowElement(ExpressionBuilder)
      ExpressionBuilder.GetVisualizerElement(ExpressionBuilder)
      ExpressionBuilder.GetVisualizerMappings(ExpressionBuilder)
      ExpressionBuilder.FromWorkflowElement(Object, ElementCategory)
      ExpressionBuilder.GetElementDisplayName(Type)
      ExpressionBuilder.GetElementDisplayName(Object)
      Object.Equals(Object)
      Object.Equals(Object, Object)
      Object.ReferenceEquals(Object, Object)
      Object.GetHashCode()
      Object.GetType()
      Object.MemberwiseClone()
      Namespace: Bonsai.Expressions
      Assembly: Bonsai.Core.dll
      Syntax
      public class InputMappingBuilder : PropertyMappingBuilder, IExpressionBuilder, INamedElement

      Properties

      | Improve this Doc View Source

      Selector

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

      Declaration
      public string Selector { get; set; }
      Property Value
      Type Description
      String
      | Improve this Doc View Source

      TypeMapping

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

      Declaration
      [Externalizable(false)]
      [TypeConverter(typeof(TypeMappingConverter))]
      public TypeMapping TypeMapping { get; set; }
      Property Value
      Type Description
      TypeMapping

      Implements

      IExpressionBuilder
      INamedElement

      Extension Methods

      ExpressionBuilderGraphExtensions.Build(ExpressionBuilder, Expression[])
      ExpressionBuilderGraphExtensions.IsBuildDependency(ExpressionBuilder)
      ExpressionBuilderGraphExtensions.AsInspectBuilder(ExpressionBuilder)
      • Improve this Doc
      • View Source
      In This Article
      Back to top Generated by DocFX