Beispiel #1
0
 public TFTree <T> AddTree(TFTree <T> tfTree)
 {
     if (Trees == null)
     {
         Trees = new List <TFTree <T> >();
     }
     Trees.Add(tfTree);
     return(tfTree);
 }
Beispiel #2
0
 public bool RemoveTree(TFTree <T> tree)
 {
     if (Trees != null && Trees.Contains(tree))
     {
         Trees.Remove(tree);
         return(true);
     }
     else
     {
         return(false);
     }
 }