Skip to content

OrderedProcessor<TBaseNode>.GetTraversal Method ​

Definition ​

Gets the traversal that the Pipeline<TBaseNode> should use for this processor.

c#
public virtual ITraversal<TBaseNode> GetTraversal(TBaseNode root);

View source

Parameters ​

NameTypeDescription
rootTBaseNodeThe root of the tree.

Returns ​

ITraversal<TBaseNode>

The traversal. Defaults to DepthFirstPreOrderTraversal<TNode>.