private static void RunInReleaseMode() { AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException; try { MyFundBootstrapper bootstrapper = new MyFundBootstrapper(); bootstrapper.Run(); } catch (Exception ex) { HandleException(ex); } }
private static void RunInDebugMode() { MyFundBootstrapper bootstrapper = new MyFundBootstrapper(); bootstrapper.Run(); }