Example #1
0
 private static void RunInReleaseMode()
 {
     AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException;
     try
     {
         var bootstrapper = new MyBootstrapper();
         bootstrapper.Run();
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }
Example #2
0
        private static void RunInDebugMode()
        {
            var bootstrapper = new MyBootstrapper();

            bootstrapper.Run();
        }