public ILaptop GetLaptop( ICpu cpu, IEnumerable<IHardDrive> hardDrives, IMotherboard motherboard, ILaptopBattery battery) { return new Laptop(cpu, hardDrives, motherboard, battery); }
public Laptop( ICpu cpu, IEnumerable<IHardDrive> hardDrives, IMotherboard motherboard, ILaptopBattery battery) : base(cpu, hardDrives, motherboard) { this.Battery = battery; }
internal Laptop( Cpu cpu, Ram ram, IEnumerable <HardDrive> hardDrives, VideoCard videoCard, ILaptopBattery battery) : base(cpu, ram, hardDrives, videoCard) { this.battery = battery; }
internal Laptop( Cpu cpu, Ram ram, IEnumerable<HardDrive> hardDrives, VideoCard videoCard, ILaptopBattery battery) : base(cpu, ram, hardDrives, videoCard) { this.battery = battery; }
internal Laptop( CPUs.Cpu cpu, IRam ram, IEnumerable<HardDriver> hardDrives, VideoCard videoCard, ILaptopBattery laptopBattery) : base(cpu, ram, hardDrives, videoCard) { this.battery = laptopBattery; }
public Laptop(IMotherboard motherboard, ILaptopBattery battery) { this.motherboard = motherboard; this.battery = battery; }
public Laptop(ICpu cpu, IMotherboard motherboard, HardDriver hardDrive, ILaptopBattery battery) : base(cpu, motherboard) { this.Battery = battery; this.hardDrive = hardDrive; }
public Laptop(ICpu cpu, IRam ram, IEnumerable <IHardDriver> driver, IVideoCard videoCard, ILaptopBattery battery) : base(cpu, ram, driver, videoCard) { this.battery = battery; }
public void CreateParts() { // I need motherboard only for creation of the laptop, not for the test, so I don't need real motherboard - using Mock one motherboard = Mock.Create <IExtendedMotherBoard>(); battery = new LaptopBattery(); }