Beispiel #1
0
        // ---- 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);
        }
Beispiel #2
0
        // ---- CONSTRUCTORS & DESTRUCTOR ------------------------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="NodeView"/> class.
        /// </summary>
        public NodeView()
        {
            Nodes = new NodeCollection(this, base.Nodes);
        }