public ComputerClient(IComputerFactory computerFactory, string computerType)
 {
     laptop  = computerFactory.GetLaptop(computerType);
     desktop = computerFactory.GetDesktop(computerType);
 }
Esempio n. 2
0
 public ComputerClient(IComputerFactory computerFactory, ComputerType type)
 {
     laptop  = computerFactory.GetLaptop(type);
     desktop = computerFactory.GetDesktop(type);
 }