Example #1
0
 /**
  * Creating an exact copy of this object
  * taking into account the reference attributes
  **/
 public object DeepCopy()
 {
     return(new Garage((WrapperList)garageVehicles.DeepCopy()));
 }
Example #2
0
 public Garage(WrapperList list)
 {
     garageVehicles = (WrapperList)list.DeepCopy();
 }