예제 #1
0
 public static Laptop CreateLaptop()
 {
     return(new Laptop(PowerUnitFactory.CreateBattery(), CPUFactory.CreateLaptopCPU(), DisplayFactory.CreateLaptopDisplay(), DiskFactory.CreateDisk(),
                       GPUFactory.CreateLaptopGPU(), "ASUS", "UX610", MotherboardFactory.CreateLaptopMotherboard(), 800, RAMFactory.CreateRAM()));
 }
예제 #2
0
 public static Laptop CreateLaptop()
 {
     return(new Laptop(CPUFactory.CreateCPU(), DisplayFactory.CreateDisplay(), DiskFactory.CreateHDD(),
                       GPUFactory.CreateGPU(), "ASUS", "UX610", MotherboardFactory.CreateMotherboard(), PowerUnitFactory.CreatePowerUnit(), RAMFactory.CreateRAM()));
 }