Exemplo n.º 1
0
 public AndroidRecharger()
 {
     Console.WriteLine("Recharging Android Phone with Generic Recharger\n");
     phone = new Android();
     phone.UseMicroUsb();
     phone.Recharge();
     Console.WriteLine("Android Phone Ready for use\n");
 }
Exemplo n.º 2
0
 public MicroUsbRecharger()
 {
     Console.WriteLine("Recharging iPhone with Generic Recharger\n");
     phone        = new IPhone();
     phoneAdapter = new IPhoneAdapter(phone);
     phoneAdapter.UseMicroUsb();
     phoneAdapter.Recharge();
     Console.WriteLine("iPhone Ready for use\n");
 }