Click or drag to resize
DigitalRuneTreeHelper Class
Provides new extension methods for traversing trees using LINQ.
Inheritance Hierarchy
SystemObject
  DigitalRune.LinqTreeHelper

Namespace: DigitalRune.Linq
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static class TreeHelper

The TreeHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetAncestorsT
Gets the ancestors of a certain node.
Public methodStatic memberGetDepthT
Gets the depth of the specified node in a tree.
Public methodStatic memberGetDescendantsT(T, FuncT, IEnumerableT)
Gets the descendants of a given node using a depth-first search.
Public methodStatic memberGetDescendantsT(T, FuncT, IEnumerableT, Boolean)
Gets the descendants of a given node using a depth-first search or a breadth-first search.
Public methodStatic memberGetHeightT
Gets the height of the specified tree or subtree.
Public methodStatic memberGetLeavesT
Gets the leaves of a given tree.
Public methodStatic memberGetRootT
Gets the root of a tree.
Public methodStatic memberGetSelfAndAncestorsT
Gets the given node and its ancestors.
Public methodStatic memberGetSubtreeT(T, FuncT, IEnumerableT)
Gets the subtree (the given node and all of its descendants) using a depth-first search.
Public methodStatic memberGetSubtreeT(T, FuncT, IEnumerableT, Boolean)
Gets the subtree (the given node and all of its descendants) using a depth-first search or a breadth-first search.
Top
See Also