CompositeListener<TBaseNode> Class
Definition
A Listener<TNode> built from multiple other listeners that listen to specific node types and do not take a context object. When a node is reached the listener with the most specific type for the node will be used. Only a single listener will ever listen to a node. If no suitable listener is found the node will be ignored but it's descendants will still be listened to.
public sealed class CompositeListener<TBaseNode> : Listener<TBaseNode>, ICompositeListenerBuilder<TBaseNode>
where TBaseNode : Node<TBaseNode>
View source
Type Parameters
| Name |
Description |
TBaseNode |
The base type of all nodes in the tree. |
Methods