Пример #1
0
 public OppoFindX2(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Oppo Find X2";
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
 }
Пример #2
0
 public SamsungNote10(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Samsung Note 10";
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
 }
Пример #3
0
 public IPhoneSE2(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
     _model       = "IPhone SE 2";
 }