예제 #1
0
        public override void Invoke(string[] param)
        {
            var color = QueryParam("Color", param, new Dictionary <LightColor, string>
            {
                { LightColor.Green, LightColor.Green.ToString() },
                { LightColor.Red, LightColor.Red.ToString() }
            });

            _light.Blink(color);
        }