Example #1
0
        private static void run_with_configurator()
        {
            EmailWatcherConfigurator configurator = new SidePopXmlConfigurator();

            foreach (EmailWatcher emailWatcher in configurator.configure())
            {
                emailWatcher.MessagesReceived += runner_messages_received;
                emailWatcher.start();
            }
        }
Example #2
0
 private static void run_with_configurator()
 {
     EmailWatcherConfigurator configurator = new SidePopXmlConfigurator();
     foreach (EmailWatcher emailWatcher in configurator.configure())
     {
         emailWatcher.MessagesReceived += runner_messages_received;
         emailWatcher.start();
     }
 }