Example #1
0
            //-------------------------------------------------
            // Finds the first Descendent with the specified Key
            public GenericNode <T> FindDescNode(string Key_in)
            {
                FindKeyVisitor visitor = new FindKeyVisitor(Key_in);

                this.VisitDecendentsDepthFirst(visitor);
                return(visitor.FoundNode);
            }
Example #2
0
            //-------------------------------------------------
            // Finds the first Child with the specified Key
            public GenericNode <T> FindChildNode(string Key_in)
            {
                FindKeyVisitor visitor = new FindKeyVisitor(Key_in);

                this.VisitChildren(visitor);
                return(visitor.FoundNode);
            }