Beispiel #1
0
        public static void Main(string[] args)
        {
            var emitter = new EventEmitter();

            emitter.ThresholdReached += (sender, eventArgs) =>
            {
                Console.WriteLine("Mama are mere.");
            };

            emitter.ThresholdReached += (sender, eventArgs) =>
            {
                Console.WriteLine("Mama are pere.");
            };

            emitter.CallAllToExecute();
        }