Ejemplo n.º 1
0
 public void Execute()
 {
     _garageDoor.LightOn();
     _garageDoor.Down();
     _garageDoor.Stop();
     _garageDoor.LightOff();
 }
 public void Undo()
 {
     garageDoor.Stop();
     garageDoor.Off();
     garageDoor.LightOff();
 }
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.Off();
     garageDoor.LightOff();
 }
Ejemplo n.º 4
0
 public void Undo()
 {
     _garageDoor.LightOff();
     _garageDoor.Down();
 }