Class InspectBuilder
Represents an expression builder that replays the latest notification from all the subscriptions made to its decorated builder.
Inherited Members
Namespace: Bonsai.Expressions
Assembly: Bonsai.Core.dll
Syntax
public sealed class InspectBuilder : ExpressionBuilder, IExpressionBuilder, INamedElement
Constructors
| Improve this Doc View SourceInspectBuilder(ExpressionBuilder)
Initializes a new instance of the InspectBuilder class with the specified expression builder.
Declaration
public InspectBuilder(ExpressionBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ExpressionBuilder | builder | The expression builder whose notifications will be replayed by this inspector. |
Properties
| Improve this Doc View SourceArgumentRange
Gets the range of input arguments that the decorated expression builder accepts.
Declaration
public override Range<int> ArgumentRange { get; }
Property Value
Type | Description |
---|---|
Range<Int32> |
Overrides
| Improve this Doc View SourceBuilder
Gets the expression builder that is being decorated by this inspector.
Declaration
public ExpressionBuilder Builder { get; }
Property Value
Type | Description |
---|---|
ExpressionBuilder |
ErrorEx
Gets an observable sequence that multicasts error notifications from all subscriptions made to the output of the decorated expression builder.
Declaration
public IObservable<Exception> ErrorEx { get; }
Property Value
Type | Description |
---|---|
IObservable<Exception> |
Name
Gets the display name of the decorated expression builder.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
ObservableType
Gets the type of the elements in the output observable sequence.
Declaration
public Type ObservableType { get; }
Property Value
Type | Description |
---|---|
Type |
Output
Gets an observable sequence that multicasts notifications from all the subscriptions made to the output of the decorated expression builder.
Declaration
public IObservable<IObservable<object>> Output { get; }
Property Value
Type | Description |
---|---|
IObservable<IObservable<Object>> |
PublishNotifications
Gets or sets a value indicating whether runtime notifications from the decorated expression builder should be multicast by this inspector.
Declaration
public bool PublishNotifications { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceBuild(IEnumerable<Expression>)
Generates an Expression node from a collection of input arguments. The result can be chained with other builders in a workflow.
Declaration
public override Expression Build(IEnumerable<Expression> arguments)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Expression> | arguments | A collection of Expression nodes that represents the input arguments. |
Returns
Type | Description |
---|---|
Expression | An Expression tree node. |