Class InspectBuilder
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents an expression builder that replays the latest notification from all the subscriptions made to its decorated builder.
public sealed class InspectBuilder : ExpressionBuilder, IExpressionBuilder, INamedElement
- Inheritance
-
InspectBuilder
- Implements
- Inherited Members
- Extension Methods
Constructors
InspectBuilder(ExpressionBuilder)
Initializes a new instance of the InspectBuilder class with the specified expression builder.
public InspectBuilder(ExpressionBuilder builder)
Parameters
builder
ExpressionBuilderThe expression builder whose notifications will be replayed by this inspector.
Properties
ArgumentRange
Gets the range of input arguments that the decorated expression builder accepts.
public override Range<int> ArgumentRange { get; }
Property Value
Builder
Gets the expression builder that is being decorated by this inspector.
public ExpressionBuilder Builder { get; }
Property Value
ErrorEx
Gets an observable sequence that multicasts error notifications from all subscriptions made to the output of the decorated expression builder.
public IObservable<Exception> ErrorEx { get; }
Property Value
Name
Gets the display name of the decorated expression builder.
public string Name { get; }
Property Value
ObservableType
Gets the type of the elements in the output observable sequence.
public Type ObservableType { get; }
Property Value
Output
Gets an observable sequence that multicasts notifications from all the subscriptions made to the output of the decorated expression builder.
public IObservable<IObservable<object>> Output { get; }
Property Value
PublishNotifications
Gets or sets a value indicating whether runtime notifications from the decorated expression builder should be multicast by this inspector.
public bool PublishNotifications { get; set; }
Property Value
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.
public override Expression Build(IEnumerable<Expression> arguments)
Parameters
arguments
IEnumerable<Expression>A collection of Expression nodes that represents the input arguments.
Returns
- Expression
An Expression tree node.