Beispiel #1
0
        public void WaitForClose()
        {
            Task collectorTask = CollectorManager.WaitForCloseToCompleteAsync();
            Task rulesTask     = RulesManager.WaitForCloseToCompleteAsync();

            Task.WaitAll(collectorTask, rulesTask);
        }