Method FromInspectableGraph
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
FromInspectableGraph(ExpressionBuilderGraph)
Converts the specified expression builder workflow into an equivalent representation where all the InspectBuilder nodes have been replaced by their decorated children.
public static ExpressionBuilderGraph FromInspectableGraph(this ExpressionBuilderGraph source)
Parameters
sourceExpressionBuilderGraphThe expression builder workflow to convert.
Returns
- ExpressionBuilderGraph
A new expression builder workflow where all 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.
public static ExpressionBuilderGraph FromInspectableGraph(this IEnumerable<Node<ExpressionBuilder, ExpressionBuilderArgument>> source, bool recurse)
Parameters
sourceIEnumerable<Node<ExpressionBuilder, ExpressionBuilderArgument>>The expression builder workflow to convert.
recurseboolA value indicating whether to recurse the conversion into nested workflows.
Returns
- ExpressionBuilderGraph
A new expression builder workflow where all InspectBuilder nodes have been replaced by their decorated children.