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