Ejemplo n.º 1
0
 public string MakeCall()
 {
     _phone.SetState(_phone.InCallState);
     return("Success, calling friend...");
 }
Ejemplo n.º 2
0
 public string TurnOn()
 {
     _phone.SetState(_phone.OnState);
     return("Success, turning on phone...");
 }
Ejemplo n.º 3
0
 public string HangUpCall()
 {
     _phone.SetState(_phone.OnState);
     return("Success, hanging up phone call...");
 }
Ejemplo n.º 4
0
 public string TurnOff()
 {
     _phone.SetState(_phone.OffState);
     return("Success, turning phone off...");
 }