Ejemplo n.º 1
0
        public override void Invoke(string[] param)
        {
            var sound = QueryParam("Beep", param, new Dictionary <BeepSound, string>
            {
                { BeepSound.ShortLowtone, BeepSound.ShortLowtone.ToString() },
                { BeepSound.ShortHightone, BeepSound.ShortHightone.ToString() },
                { BeepSound.LongLowtone, BeepSound.LongLowtone.ToString() },
                { BeepSound.GoodReadtone, BeepSound.GoodReadtone.ToString() },
                { BeepSound.BadReadtone, BeepSound.BadReadtone.ToString() }
            });

            _beep.MakeSound(sound);
        }