TreeHelper Class |
Namespace: DigitalRune.Linq
The TreeHelper type exposes the following members.
Name | Description | |
---|---|---|
GetAncestorsT |
Gets the ancestors of a certain node.
| |
GetDepthT |
Gets the depth of the specified node in a tree.
| |
GetDescendantsT(T, FuncT, IEnumerableT) |
Gets the descendants of a given node using a depth-first search.
| |
GetDescendantsT(T, FuncT, IEnumerableT, Boolean) |
Gets the descendants of a given node using a depth-first search or a breadth-first
search.
| |
GetHeightT |
Gets the height of the specified tree or subtree.
| |
GetLeavesT |
Gets the leaves of a given tree.
| |
GetRootT |
Gets the root of a tree.
| |
GetSelfAndAncestorsT |
Gets the given node and its ancestors.
| |
GetSubtreeT(T, FuncT, IEnumerableT) |
Gets the subtree (the given node and all of its descendants) using a depth-first search.
| |
GetSubtreeT(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.
|