public void Execute() { Console.WriteLine("Turning light on..."); receiver.Action(this); }
/// <summary> /// Can be extended with a UnExecute method /// </summary> public void Execute() { _receiver.Action(); }