Method ToInspectableGraph
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
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.
public static ExpressionBuilderGraph ToInspectableGraph(this ExpressionBuilderGraph source)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow to convert.
Returns
- ExpressionBuilderGraph
A new expression builder workflow where all nodes have been decorated by InspectBuilder instances.
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.
public static ExpressionBuilderGraph ToInspectableGraph(this ExpressionBuilderGraph source, bool recurse)
Parameters
source
ExpressionBuilderGraphThe expression builder workflow to convert.
recurse
bool
Returns
- ExpressionBuilderGraph
- A value indicating whether to recurse the conversion into nested workflows. A new expression builder workflow where all nodes have been decorated by InspectBuilder instances.