protected Computer(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable <HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) { this.CentralProcessingUnit = cpu; this.RandomAcessMemory = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.MotherBoard = motherBoard; }
protected Computer(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable<HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) { this.CentralProcessingUnit = cpu; this.RandomAcessMemory = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.MotherBoard = motherBoard; }
public override PersonalComputer MakePersonalComputer() { var ram = new RandomAcessMemory(PersonalComputerRam); var videoCard = new VideoCard(PersonalComputerMonochromeVideoCard); var motherBoard = new Motherboard(ram, videoCard); var cpu = new CentralProcessingUnit(PersonalComputerNumberOfCores, PersonalComputerBits, motherBoard); var hardDrive = new HardDriver(PersonalComputerHardDriveCapacity, false, 0); var dellPersonalComputer = new PersonalComputer( cpu, ram, new List<HardDriver> { hardDrive }, videoCard, motherBoard); return dellPersonalComputer; }
public override Server MakeServer() { // TODO:make raid var ram = new RandomAcessMemory(ServerRam); var videoCard = new VideoCard(ServerMonochromeVideoCard); var motherBoard = new Motherboard(ram, videoCard); var cpu = new CentralProcessingUnit(ServerNumberOfCores, ServerBits, motherBoard); var hardDrive = new HardDriver(ServerHardDriveCapacity, false, 0); var dellServer = new Server( cpu, ram, new List<HardDriver> { hardDrive }, videoCard, motherBoard); return dellServer; }
public override Laptop MakeLaptop() { var ram = new RandomAcessMemory(LaptopRam); var videoCard = new VideoCard(LaptopMonochromeVideoCard); var motherBoard = new Motherboard(ram, videoCard); var cpu = new CentralProcessingUnit(LaptopNumberOfCores, LaptopBits, motherBoard); var hardDrive = new HardDriver(LaptopHardDriveCapacity, false, 0); var battery = new LaptopBattery(); var dellLaptop = new Laptop( cpu, ram, new List<HardDriver> { hardDrive }, videoCard, motherBoard, battery); return dellLaptop; }
public override PersonalComputer MakePersonalComputer() { var ram = new RandomAcessMemory(PersonalComputerRam); var videoCard = new VideoCard(PersonalComputerMonochromeVideoCard); var motherBoard = new Motherboard(ram, videoCard); var cpu = new CentralProcessingUnit(PersonalComputerNumberOfCores, PersonalComputerBits, motherBoard); var hardDrive = new HardDriver(PersonalComputerHardDriveCapacity, false, 0); var dellPersonalComputer = new PersonalComputer( cpu, ram, new List <HardDriver> { hardDrive }, videoCard, motherBoard); return(dellPersonalComputer); }
public override Server MakeServer() { // TODO:make raid var ram = new RandomAcessMemory(ServerRam); var videoCard = new VideoCard(ServerMonochromeVideoCard); var motherBoard = new Motherboard(ram, videoCard); var cpu = new CentralProcessingUnit(ServerNumberOfCores, ServerBits, motherBoard); var hardDrive = new HardDriver(ServerHardDriveCapacity, false, 0); var dellServer = new Server( cpu, ram, new List <HardDriver> { hardDrive }, videoCard, motherBoard); return(dellServer); }
public override Laptop MakeLaptop() { var ram = new RandomAcessMemory(LaptopRam); var videoCard = new VideoCard(LaptopMonochromeVideoCard); var motherBoard = new Motherboard(ram, videoCard); var cpu = new CentralProcessingUnit(LaptopNumberOfCores, LaptopBits, motherBoard); var hardDrive = new HardDriver(LaptopHardDriveCapacity, false, 0); var battery = new LaptopBattery(); var dellLaptop = new Laptop( cpu, ram, new List <HardDriver> { hardDrive }, videoCard, motherBoard, battery); return(dellLaptop); }
public Laptop(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable <HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard, LaptopBattery battery) : base(cpu, ram, hardDrives, videoCard, motherBoard) { this.LaptopBattery = battery; }
public Laptop(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable<HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard, LaptopBattery battery) : base(cpu, ram, hardDrives, videoCard, motherBoard) { this.LaptopBattery = battery; }
public Server(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable <HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) : base(cpu, ram, hardDrives, videoCard, motherBoard) { this.CheckIfVideoCardIsMonochrome(); }
public PersonalComputer(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable <HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) : base(cpu, ram, hardDrives, videoCard, motherBoard) { }
public Server(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable<HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) : base(cpu, ram, hardDrives, videoCard, motherBoard) { this.CheckIfVideoCardIsMonochrome(); }
public PersonalComputer(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable<HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) : base(cpu, ram, hardDrives, videoCard, motherBoard) { }