Esempio n. 1
0
 public VehicleClient(IVehicleFactory factory, string type)
 {
     this.bike        = factory.GetBike(type);
     this.scooter     = factory.GetScooter(type);
     this.factoryType = factory.GetType().Name;
 }