예제 #1
0
        public void Add(TreeInfo treeInfo)
        {
            string name = treeInfo.name;

            if (!Trees.Any(t => t.Name == name))
            {
                Trees.Add(new Tree(treeInfo));
            }
        }