Table of Contents

Class ExpressionBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Provides the abstract base class for all expression tree node builders.

[TypeConverter("Bonsai.Design.ExpressionBuilderTypeConverter, Bonsai.Design")]
public abstract class ExpressionBuilder : IExpressionBuilder
Inheritance
ExpressionBuilder
Implements
Derived
Inherited Members
Extension Methods

Constructors

ExpressionBuilder()

Initializes a new instance of the ExpressionBuilder class.

Properties

ArgumentRange

Gets the range of input arguments that this expression builder accepts.

Methods

Build(IEnumerable<Expression>)

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

FromWorkflowElement(object, ElementCategory)

Creates a new expression builder from the specified editor browsable element and category.

GetElementDisplayName(object)

Gets the display name for the specified element.

GetElementDisplayName(Type)

Gets the display name for the specified type.

GetVisualizerElement(ExpressionBuilder)

Returns the InspectBuilder instance that should be used to visualize the specified workflow element.

GetVisualizerMappings(ExpressionBuilder)

Returns the read-only collection of visualizer mappings that have been assigned to the specified workflow element.

GetWorkflowElement(ExpressionBuilder)

Returns the editor browsable element for the specified ExpressionBuilder.

ToString()

Returns a string that represents the display name of this ExpressionBuilder instance.

Unwrap(ExpressionBuilder)

Removes all decorators from a specified ExpressionBuilder instance and returns the first non-decorated (i.e. primitive) builder.