// ---- CONSTRUCTORS & DESTRUCTOR ------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the <see cref="Node"/> class. /// </summary> /// <param name="nodeView">The <see cref="NodeView"/> this node is displayed in.</param> public Node(NodeView nodeView) { NodeView = nodeView; Nodes = new NodeCollection(nodeView, base.Nodes); }
// ---- CONSTRUCTORS & DESTRUCTOR ------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the <see cref="NodeView"/> class. /// </summary> public NodeView() { Nodes = new NodeCollection(this, base.Nodes); }