Table of Contents

Class DisableBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents an expression builder that disables the generation of expression tree nodes from its decorated builder.

The Disable decorator is used to remove expressions from the workflow build process without actually removing the expressions themselves from the workflow. It is most frequently used for rapid-prototyping of alternative solutions, or during debugging to quickly activate or deactivate branches for testing.

public class DisableBuilder : ExpressionBuilder, IExpressionBuilder, INamedElement
Inheritance
DisableBuilder
Implements
Inherited Members
Extension Methods

Constructors

DisableBuilder()

Initializes a new instance of the DisableBuilder class.

DisableBuilder(ExpressionBuilder)

Initializes a new instance of the DisableBuilder class with the specified expression builder.

Properties

ArgumentRange

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

Builder

Gets or sets the expression builder to be disabled by this decorator.

Name

Gets the display name of the decorated expression builder.

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.