Exemplo n.º 1
0
 private Computer(ComputerBuilder builder)
 {
     this.CPU = builder.CPU;
     this.GPU = builder.GPU;
     this.RAM = builder.RAM;
     this.SSD = builder.SSD;
 }
 public void ConstructComputer(ComputerBuilder computerBuilder)
 {
     computerBuilder.BuildMotherboard();
     computerBuilder.BuildProcessor();
     computerBuilder.BuildHardDisk();
     computerBuilder.BuildScreen();
 }
 public void ConstructComputer(ComputerBuilder computerBuilder)
 {
     computerBuilder.BuildMotherboard();
     computerBuilder.BuildProcessor();
     computerBuilder.BuildHardDisk();
     computerBuilder.BuildScreen();
 }
Exemplo n.º 4
0
 public Shop(ComputerBuilder builder)
 {
     this._builder = builder;
 }