public ILaptop CreateLaptop(string model)
        {
            var laptop = new AsusLaptop {
                Model = model
            };

            laptop.Create();
            return(laptop);
        }
예제 #2
0
        public override Laptop ManufactureLaptop()
        {
            var laptop = new AsusLaptop("Asus mouse", 6, 2048, 512, HardDriveType.HardDiskDrive, ProcessorType.AMD, 2, 700d);

            return laptop;
        }