//------------------------------------------------- // 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); }
//------------------------------------------------- // 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); }