Interface INameNode<T>
A named node in a tree structure.
public interface INameNode<T> where T : class, INameNode<T>
Type Parameters
TThe type of the node.
Properties
Children
Gets the children for this node.
IList<T> Children { get; }
Property Value
- IList<T>
Name
Gets the name of this node. This will be an empty string for the root node.
string Name { get; }
Property Value
Parent
Gets the parent for this node, or null if this is a root node.
T? Parent { get; }
Property Value
- T
VisibleChildren
Gets the children that are not hidden.
IEnumerable<T> VisibleChildren { get; }
Property Value
- IEnumerable<T>