Пример #1
0
 public Client(CarDoorFactory factory)
 {
    carDoor= factory.CreaterDoor();
 }
Пример #2
0
 public Client(CarDoorFactory factory)
 {
     carDoor = factory.CreaterDoor();
 }