Interface ITreeNode
Contains tree node properties
Namespace: PnP.Framework.Diagnostics.Tree
Assembly: PnP.Framework.dll
Syntax
public interface ITreeNode
Properties
Ancestors
All nodes along path toward root: Parent, Parent.Parent, Parent.Parent.Parent, ...
Declaration
IEnumerable<ITreeNode> Ancestors { get; }
Property Value
IEnumerable<ITreeNode>
|
ChildNodes
Direct descendants
Declaration
IEnumerable<ITreeNode> ChildNodes { get; }
Property Value
IEnumerable<ITreeNode>
|
Depth
Distance from Root
Declaration
int Depth { get; }
Property Value
System.Int32
|
Descendants
All Child nodes. Children, Children[i].Children, ...
Declaration
IEnumerable<ITreeNode> Descendants { get; }
Property Value
IEnumerable<ITreeNode>
|
Height
Distance from deepest descendant
Declaration
int Height { get; }
Property Value
System.Int32
|