• Docs
  • Learn
  • Community
    Search Results for

      Show / Hide Table of Contents

      Class CombinatorExpressionBuilder

      Provides a base class for expression builders that will generate combinator outputs that can be combined with dynamic property mappings. This is an abstract class.

      Inheritance
      Object
      ExpressionBuilder
      VariableArgumentExpressionBuilder
      CombinatorExpressionBuilder
      CombinatorBuilder
      CsvReader
      CsvWriter
      Implements
      IPropertyMappingBuilder
      IExpressionBuilder
      Inherited Members
      VariableArgumentExpressionBuilder.ArgumentRange
      VariableArgumentExpressionBuilder.SetArgumentRange(Int32, Int32)
      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 abstract class CombinatorExpressionBuilder : VariableArgumentExpressionBuilder, IPropertyMappingBuilder, IExpressionBuilder

      Constructors

      | Improve this Doc View Source

      CombinatorExpressionBuilder(Int32, Int32)

      Initializes a new instance of the CombinatorExpressionBuilder class with the specified argument range.

      Declaration
      protected CombinatorExpressionBuilder(int minArguments, int maxArguments)
      Parameters
      Type Name Description
      Int32 minArguments

      The inclusive lower bound of the argument range.

      Int32 maxArguments

      The inclusive upper bound of the argument range.

      Methods

      | Improve this Doc View Source

      Build(IEnumerable<Expression>)

      Generates an Expression node from a collection of input arguments. The result can be chained with other builders in a workflow.

      Declaration
      public override Expression Build(IEnumerable<Expression> arguments)
      Parameters
      Type Name Description
      IEnumerable<Expression> arguments

      A collection of Expression nodes that represents the input arguments.

      Returns
      Type Description
      Expression

      An Expression tree node.

      Overrides
      ExpressionBuilder.Build(IEnumerable<Expression>)
      | Improve this Doc View Source

      BuildCombinator(IEnumerable<Expression>)

      When overridden in a derived class, generates an Expression node that will be combined with any existing property mappings to produce the final output of the expression builder.

      Declaration
      protected abstract Expression BuildCombinator(IEnumerable<Expression> arguments)
      Parameters
      Type Name Description
      IEnumerable<Expression> arguments

      A collection of Expression nodes that represents the input arguments.

      Returns
      Type Description
      Expression

      An Expression tree node that represents the combinator output.

      Implements

      IPropertyMappingBuilder
      IExpressionBuilder

      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