Class SubscriptionVisitor<T1>
Subscription visitor performing an action on each operator node in a subscription tree.
Implements
Namespace: Reaqtive
Assembly: Reaqtive.Core.dll
Syntax
public class SubscriptionVisitor<T1> : SubscriptionVisitor, ISubscriptionVisitor where T1 : class, IOperator
Type Parameters
Name | Description |
---|---|
T1 | Type of the operators processed by the visitor's action. This type should implement IOperator. |
Constructors
SubscriptionVisitor(Action<T1>)
Creates a new subscription visitor with the specified action to visit operator nodes.
Declaration
public SubscriptionVisitor(Action<T1> visitor)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T1> | visitor | Action applied to each operator node of type |
Methods
VisitCore(IOperator)
Core implementation of the visitor functionality applied to operators of type T1
.
Declaration
protected override void VisitCore(IOperator node)
Parameters
Type | Name | Description |
---|---|---|
IOperator | node | Node to apply the visitor to. |