Skip to content

ITraversal<TNode> Interface ​

Definition ​

Strategy for traversing nodes in a tree.

c#
public abstract interface ITraversal<TNode>
   where TNode : Node<TNode>

Type Parameters ​

NameDescription
TNodeThe type of nodes in the tree.

Methods ​

NameDescription
Enumerate(TNode, Boolean, Func<TNode, Boolean>)Enumerates over a node and its descendants.