Exemple #1
0
 public Client(CarFactory factory)
 {
     _passengerCar = factory.CreatePassengerCar();
     _truck        = factory.CreateTruck();
     _bus          = factory.CreateBus();
 }