public void TurnOn()
 {
     m_TurnOn.Execute();
 }
 public void Execute(ISolution solution, ITextControl textControl)
 {
     action.Execute();
 }
 public void TurnOff()
 {
     m_TurnOff.Execute();
 }
Example #4
0
 public override void OnClick()
 {
     Console.Clear();
     m_ActionToPerform.Execute();
     UserInteraction.PressAnyKetToContinue();
 }