public Cpu(IRam ram, IVideoCard videoCard, byte numberOfCores, CpuArchitecture architecture) { this.Ram = ram; this._videoCard = videoCard; NumberOfCores = numberOfCores; this.Architecture = architecture; }
public Computer(ICpu cpu, IRamMemory ram, IVideoCard videoCard, IEnumerable<IHardDrive> hardDrives) { this.cpu = cpu; this.ram = ram; this.videoCard = videoCard; this.hardDrives = hardDrives; }
public MotherBoard(IRamMemory ram, ICpu cpu, IHardDrive hardDrive, IVideoCard videoCard) { this.ram = ram; this.cpu = cpu; this.hardDrive = hardDrive; this.videoCard = videoCard; }
public Computer(ICpu cpu, IRam ram, IVideoCard gpu, IStorage storage) { Storage = storage; Gpu = gpu; Ram = ram; Cpu = cpu; }
public Cpu(byte numberOfCores, byte numberOfBits, IRamMemory ram) { this.numberOfBits = numberOfBits; this.ram = ram; this.NumberOfCores = numberOfCores; this.videoCard = this.defaultVideoCard; }
public Computer(ComputerType type, ICpu cpu, Ram ram, IEnumerable<HardDrive> hardDrives, IVideoCard videoCard) { this.Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.Type = type; }
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 BaseComputer(ICpu cpu, IRam ram, IVideoCard videoCard, IEnumerable <IHardDrive> hardDrives) { this.CPU = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.Motherboard = new MotherBoard(videoCard, ram, cpu); }
protected Computer(ICPU cpu, IRAM ram, IVideoCard videoCard, RAID hardDriveRaid, IMotherboard motherBoard) { this.cpu = cpu; this.ram = ram; this.videoCard = videoCard; this.hardDriveRaid = hardDriveRaid; this.motherBoard = motherBoard; }
public Computer(ICpu cpu, IRam ram, IEnumerable <IHardDriver> driver, IVideoCard videoCard) { this.Cpu = cpu; this.Ram = ram; this.Driver = driver; // to do this.VideoCard = videoCard; this.Motherboard = new Motherboard(this.Cpu, this.Ram, this.VideoCard); }
internal Computer(IRam ram, ICpu cpu, IEnumerable <IHardDrive> drives, IVideoCard videoCard) { this.Ram = ram; this.Cpu = cpu; this.Drives = drives; this.VideoCard = videoCard; this.motherboard = new Motherboard(ram, cpu, videoCard); }
public Cpu( byte numberOfCores, IRam ram, IVideoCard videoCard) { this.NumberOfCores = numberOfCores; this.Ram = ram; this.VideoCard = videoCard; }
public Computer(ComputerType type, IMotherboard motherboard, Cpu cpu, Ram ram, IEnumerable<HardDrive> hardDrives, IVideoCard videoCard) { // TODO: validate this.Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.Motherboard = motherboard; }
internal Laptop( Cpu cpu, Ram ram, IEnumerable <IHardDrive> hardDrives, IVideoCard videoCard, LaptopBattery battery) : base(cpu, ram, hardDrives, videoCard) { this.battery = battery; }
public Motherboard(ICpu cpu, IRam ram, IVideoCard videoCard) { cpu.Motherboard = this; this.Cpu = cpu; ram.Motherboard = this; this.Ram = ram; videoCard.Motherboard = this; this.VideoCard = videoCard; }
public MotherBoard(IVideoCard videoCard, IRam ram, ICpu cpu) { videoCard.Motherboard = this; this.VideoCard = videoCard; ram.Motherboard = this; this.Ram = ram; cpu.Motherboard = this; this.Cpu = cpu; }
protected Computer( Cpu cpu, Rammstein ram, IEnumerable<HardDrive> hardDrives, IVideoCard videoCard) { Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; }
internal Computer( ICpu cpu, Ram ram, IEnumerable <IHardDrive> hardDrives, IVideoCard videoCard) { this.Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; }
protected Computer( ICpu cpu, IRam ram, IEnumerable<IHardDrive> hardDrives, IVideoCard videoCard) { this.Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.Motherboard = new Motherboard(this.Cpu, this.Ram, this.VideoCard); }
protected Computer( ICpu cpu, IRam ram, IEnumerable <IHardDrive> hardDrives, IVideoCard videoCard) { this.Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.Motherboard = new Motherboard(this.Cpu, this.Ram, this.VideoCard); }
// The hardcoded values are used on only one place so i think that there is no need of constants. public override PersonalComputer ManufacturePC() { this.ram = new RamMemory(4); this.videoCard = new MonochromeVideoCard(); this.cpu = new Cpu(2, 64, this.ram, this.videoCard); this.hardDrives = new[] { new HardDriver(2000, false, 0) }; return new PersonalComputer(this.cpu, this.ram, this.videoCard, this.hardDrives); }
// The hardcoded values are used on only one place so i think that there is no need of constants. public override PersonalComputer ManufacturePC() { this.ram = new RamMemory(8); this.videoCard = new ColorfulVideoCard(); this.cpu = new Cpu(4, 64, this.ram, this.videoCard); this.hardDrives = new[] { new HardDriver(1000, false, 0) }; return new PersonalComputer(this.cpu, this.ram, this.videoCard, this.hardDrives); }
public override Laptop ManufactureLaptop() { this.ram = new RamMemory(8); this.videoCard = new ColorfulVideoCard(); this.cpu = new Cpu(4, 32, this.ram, this.videoCard); this.hardDrives = new[] { new HardDriver(1000, false, 0) }; IBattery battery = BatteryFactory.GetBattery(BatteryType.LaptopBattery); return new Laptop(this.cpu, this.ram, this.videoCard, this.hardDrives, battery); }
public Computer( ComputerType type, Cpu cpu, Ram ram, IEnumerable<HardDrive> hardDrives, IVideoCard videoCard, LaptopBattery battery) { this.Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.battery = battery; }
internal Computer( string type, Cpu cpu, RAMMemory ram, IEnumerable<HardDriver> hardDrives, IVideoCard videoCard, LaptopBattery battery) { this.type = type; this.Cpu = cpu; this.Ram = ram; this.HardDrives = hardDrives; this.VideoCard = videoCard; this.battery = battery; this.motherBoard = new MotherBoard(this.Cpu, this.Ram, this.VideoCard); }
public MotherBoard(Cpu cpu, RAMMemory ram, IVideoCard videoCard) { this.cpu = cpu; this.ram = ram; this.videoCard = videoCard; }
public Motherboard(IRam ram, ICpu cpu, IVideoCard videoCard) { this.ram = ram; this.videoCard = videoCard; cpu.AttachToMotherboard(this); }
protected Desktop(ICpu cpu, IMotherBoard motherBoard, IVideoCard videoCard) { _cpu = cpu; _motherBoard = motherBoard; _videoCard = videoCard; }
public Motherboard(RandomAcessMemory ram, IVideoCard videoCard) { this.RandomAcessMemory = ram; this.VideoCard = videoCard; }
public Server(IRam ram, ICpu cpu, IEnumerable <IHardDrive> drives, IVideoCard videoCard) : base(ram, cpu, drives, videoCard) { }
public PersonalComputer(IRam ram, ICpu cpu, IEnumerable <IHardDrive> drives, IVideoCard videoCard) : base(ram, cpu, drives, videoCard) { }
public Motherboard(IVideoCard videocard, IRamMemory ram) { this.VideoCard = videocard; this.Ram = ram; }
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(ICpu cpu, IRam ram, IVideoCard gpu, IStorage storage) : base(cpu, ram, new MonochromVideoCard(), storage) { }
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(ICpu cpu, IRam ram, IEnumerable <IHardDriver> driver, IVideoCard videoCard, ILaptopBattery battery) : base(cpu, ram, driver, videoCard) { this.battery = battery; }
public Pc(ICpu cpu, IRam ram, IEnumerable <IHardDrive> hardDrives, IVideoCard videoCard) : base(cpu, ram, hardDrives, videoCard) { }
public PersonalComputer(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable <HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) : base(cpu, ram, hardDrives, videoCard, motherBoard) { }
public Laptop(ICpu cpu, IRam ram, IVideoCard videoCard, IEnumerable <IHardDrive> hardDrives) : base(cpu, ram, videoCard, hardDrives) { this.LaptopBattery = new LaptopBattery(); }
public Motherboard(IRam ram, IVideoCard videoCard) { this.Ram = ram; this.VideoCard = videoCard; }
public Server(CentralProcessingUnit cpu, RandomAcessMemory ram, IEnumerable <HardDriver> hardDrives, IVideoCard videoCard, IMotherboard motherBoard) : base(cpu, ram, hardDrives, videoCard, motherBoard) { this.CheckIfVideoCardIsMonochrome(); }
public ServerComputer(IMotherboard motherboard, Cpu cpu, Ram ram, IEnumerable<HardDrive> hardDrives, IVideoCard videoCard) : base(ComputerType.SERVER, motherboard, cpu, ram, hardDrives, videoCard) { }
public Laptop(ICpu cpu, IRam ram, IEnumerable <IHardDrive> hardDrives, IVideoCard videoCard, IBattery battery) : base(cpu, ram, hardDrives, videoCard) { this.battery = battery; }
public PcMotherBoard(IRamMemory ram, ICpu cpu, IHardDrive hardDrive, IVideoCard videoCard) : base(ram, cpu, hardDrive, videoCard) { }
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 Pc(ICpu cpu, IRam ram, IEnumerable<IHardDrive> hardDrives, IVideoCard videoCard) : base(cpu, ram, hardDrives, videoCard) { }
protected PersonalComputer(ICpu cpu, IRam ram, IVideoCard gpu, IStorage storage) : base(cpu, ram, gpu, storage) { }
public Motherboard(Ram ram, IVideoCard videoCard) { this.ram = ram; this.videoCard = videoCard; }
public PC(ICpu cpu, IRam ram, IVideoCard videoCard, IEnumerable <IHardDrive> hardDrives) : base(cpu, ram, videoCard, hardDrives) { }
public PC(ICPU cpu, IRAM ram, IVideoCard videoCard, RAID hardDriveRaid, IMotherboard motherBoard) : base(cpu, ram, videoCard, hardDriveRaid, motherBoard) { }
public Laptop(IRam ram, ICpu cpu, IEnumerable<IHardDrive> drives, IVideoCard videoCard, IBattery battery) : base(ram, cpu, drives, videoCard) { this.Battery = battery; }
public GamingDesktop(ICpu cpu, IMotherBoard motherBoard, IVideoCard videoCard) : base(cpu, motherBoard, videoCard) { }
public Laptop(ICPU cpu, IRAM ram, IVideoCard videoCard, RAID hardDriveRaid, IMotherboard motherBoard, IBattery battery) : base(cpu, ram, videoCard, hardDriveRaid, motherBoard) { this.battery = battery; }
public OfficeDesktop(ICpu cpu, IMotherBoard motherBoard, IVideoCard videoCard) : base(cpu, motherBoard, videoCard) { }