public void Undo()
 {
     garageDoor.Close();
 }
Esempio n. 2
0
 public void Execute()
 {
     _garageDoor.Close();
 }
 public void Undo()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
 public void Execute()
 {
     _door.Close();
 }
Esempio n. 5
0
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
Esempio n. 6
0
 public void Undo()
 {
     door.Close();
 }