Пример #1
0
 static void Main(string[] args)
 {
     Task.Run(() =>
     {
         BotFactory.FabricarBot(BotEnum.Twitch).Start();
     });
     Task.Run(() =>
     {
         string url = "http://localhost:8080";
         using (WebApp.Start(url))
         {
             Console.WriteLine("Server running on {0}", url);
             Console.ReadLine();
         }
     });
     //Console.ReadKey();
     Process.GetCurrentProcess().WaitForExit();
 }