예제 #1
0
            public NodeTree FindByKeyword(string key)
            {
                foreach (Node node in Nodes)
                {
                    if (!(node is NodeTree))
                    {
                        continue;
                    }

                    NodeTree tree = node as NodeTree;
                    if (tree.GetKeyword() == key)
                    {
                        return(tree);
                    }
                }

                return(null);
            }