Esempio n. 1
0
        private List <PathTreeNodeInternal> getAllNodes()
        {
            List <PathTreeNodeInternal> allNodes = new List <PathTreeNodeInternal>();

            root.GetAllSubNodes(ref allNodes);
            return(allNodes);
        }
Esempio n. 2
0
            public List <PathTreeNode> GetAllSubNodes()
            {
                List <PathTreeNodeInternal> treeNodes = new List <PathTreeNodeInternal>();

                capsuledNode.GetAllSubNodes(ref treeNodes);
                return(treeNodes.Select((node) => new PathTreeNode(node)).ToList());
            }