Table of Contents

Class ExpressionBuilderGraphExtensions

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Provides a set of static methods for serializing, building and otherwise manipulating expression builder workflows.

public static class ExpressionBuilderGraphExtensions
Inheritance
ExpressionBuilderGraphExtensions
Inherited Members

Methods

AddDescriptor(ExpressionBuilderGraph, ExpressionBuilderGraphDescriptor)

Adds the contents of the specified graph descriptor to the ExpressionBuilderGraph.

AsInspectBuilder(ExpressionBuilder)

Decorates the specified expression builder with an InspectBuilder instance allowing for runtime inspection and error redirection.

Build(ExpressionBuilder, params Expression[])

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

Build(ExpressionBuilderGraph)

Generates an expression tree from the specified expression builder workflow.

Build(ExpressionBuilderGraph, ExpressionBuilder)

Generates an expression tree from the specified expression builder workflow evaluated up to the specified build target.

Build(ExpressionBuilderGraph, ExpressionBuilder, IEnumerable<Expression>)

Generates an expression tree from the specified expression builder workflow and a sequence of build arguments, evaluated up to the specified build target.

Build(ExpressionBuilderGraph, ExpressionBuilder, params Expression[])

Generates an expression tree from the specified expression builder workflow and array of build arguments, evaluated up to the specified build target.

Build(ExpressionBuilderGraph, IEnumerable<Expression>)

Generates an expression tree from the specified expression builder workflow and a sequence of build arguments.

Build(ExpressionBuilderGraph, params Expression[])

Generates an expression tree from the specified expression builder workflow and array of build arguments.

BuildObservable(ExpressionBuilderGraph)

Builds and compiles an expression builder workflow into an observable that can be subscribed for its side-effects.

Convert(IEnumerable<Node<ExpressionBuilder, ExpressionBuilderArgument>>, Func<ExpressionBuilder, ExpressionBuilder>)

Converts the specified expression builder workflow into an equivalent representation where each node has been replaced by its projection as specified by a selector function.

Convert(IEnumerable<Node<ExpressionBuilder, ExpressionBuilderArgument>>, Func<ExpressionBuilder, ExpressionBuilder>, bool)

Converts the specified expression builder workflow into an equivalent representation where each node has been replaced by its projection as specified by a selector function.

Descendants(ExpressionBuilderGraph)

Returns a filtered collection of the descendant elements for this workflow, including elements nested inside grouped workflows. Any descendants of disabled groups will not be included in the result.

Elements(ExpressionBuilderGraph)

Returns a filtered collection of the child elements for this workflow.

FromInspectableGraph(ExpressionBuilderGraph)

Converts the specified expression builder workflow into an equivalent representation where all the InspectBuilder nodes have been replaced by their decorated children.

FromInspectableGraph(IEnumerable<Node<ExpressionBuilder, ExpressionBuilderArgument>>, bool)

Converts the specified expression builder workflow into an equivalent representation where all the InspectBuilder nodes have been replaced by their decorated children.

InspectErrorsEx(ExpressionBuilderGraph)

Redirects any build or execution errors signaled by InspectBuilder nodes in the specified expression builder workflow into a single observable sequence.

IsBuildDependency(ExpressionBuilder)

Determines whether the specified ExpressionBuilder represents a build dependency.

SetWorkflowProperty(ExpressionBuilderGraph, string, object)

Sets the value of a workflow property to a different value.

ToDescriptor(ExpressionBuilderGraph)

Converts an expression builder workflow into its serializable representation.

ToInspectableGraph(ExpressionBuilderGraph)

Converts the specified expression builder workflow into an equivalent representation where all the nodes are decorated by InspectBuilder instances that allow for runtime inspection and error redirection of workflow values.

ToInspectableGraph(ExpressionBuilderGraph, bool)

Converts the specified expression builder workflow into an equivalent representation where all the nodes are decorated by InspectBuilder instances that allow for runtime inspection and error redirection of workflow values.