public void Undo()
 {
     garageDoor.Close();
 }
Пример #2
0
 public void Execute()
 {
     _garageDoor.Close();
 }
 public void Undo()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
 public void Execute()
 {
     _door.Close();
 }
Пример #5
0
 public void Execute()
 {
     garageDoor.Stop();
     garageDoor.Close();
     garageDoor.LightOff();
 }
Пример #6
0
 public void Undo()
 {
     door.Close();
 }