Esempio n. 1
0
 public void Execute()
 {
     _garageDoor.LightOn();
     _garageDoor.Down();
     _garageDoor.Stop();
     _garageDoor.LightOff();
 }
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.On();
     garageDoor.LightOn();
 }
 public void Undo()
 {
     door.Stop();
 }
Esempio n. 4
0
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }