Ejemplo n.º 1
0
 public Models.Address.Abstract.BaseAssembly Populate(Models.Address.Abstract.BaseAssembly root)
 {
     for (int i = 0; i < 5; i++)
     {
         Branch x = new Branch("Name " + i.ToString());
         for (int j = 0; j < 5; j++)
         {
             x.Add(new Leaf("Name " + j.ToString()));
         }
         root.Add(x);
     }
     return(root);
 }
Ejemplo n.º 2
0
 public abstract void Remove(BaseAssembly assembly);
Ejemplo n.º 3
0
 public abstract void Add(BaseAssembly assembly);