Exemple #1
0
 public ComputerRepository()
 {
     _laptopBuilder              = new LaptopBuilder();
     _laptopBuildDirector        = new LaptopBuildDirector(_laptopBuilder);
     _superComputerBuilder       = new SuperComputerBuilder();
     _superComputerBuildDirector = new SuperComputerBuildDirector(_superComputerBuilder);
 }
Exemple #2
0
 public TestLaptopBuilder()
 {
     _laptopBuilder       = new LaptopBuilder();
     _laptopBuildDirector = new LaptopBuildDirector(_laptopBuilder);
 }