Beispiel #1
0
        public override void PressSwitch(LightContext light)
        {
            Console.WriteLine("turn off the light");

            light.State = new LightOff();
        }
Beispiel #2
0
 public abstract void PressSwitch(LightContext light);