Ejemplo n.º 1
0
 static async Task MainAsync(ConfigurationFile configurationFile)
 {
     if (configurationFile.ApplicationMode == ApplicationMode.Publisher)
     {
         _publisherManager = new PublisherManager(configurationFile);
         _publisherManager.Setup();
     }
     else if (configurationFile.ApplicationMode == ApplicationMode.Subscriber)
     {
         _subscriberManager = new SubscriberManager(configurationFile);
         _subscriberManager.Setup();
     }
     Console.Read();
 }