Пример #1
0
 public void Execute()
 {
     if (_light.IsOn())
     {
         _light.Off();
     }
 }
Пример #2
0
 public void Execute()
 {
     light.Off();
 }
Пример #3
0
 public void Undo()
 {
     light.Off();
 }
 public void Excute()
 {
     _light.Off();
 }