Пример #1
0
 public void CreateVBattery()
 {
     this._battery = new Battery();
 }
Пример #2
0
 public Laptop(ICpu cpu, IRam ram, IVideoCard gpu, IStorage storage, IRechargable battery)
     : base(cpu, ram, gpu, storage)
 {
     Battery = battery;
 }