Пример #1
0
        private static void DemonstrateEventBasedAsynchronousPattern()
        {
            EAP eap = new EAP();

            eap.WorkDoneHandler += ProcessEAPResult;
            eap.DoWorkAsync();

            Console.WriteLine("Demonstration of Event-based Asynchronous Pattern is started...");
        }