private static void RunInDebugMode() { Console.WriteLine("Running in Debug Mode"); TradeSysBootstrapper bootstraper = new TradeSysBootstrapper(); bootstraper.Run(); }
private static void RunInReleaseMode() { Console.WriteLine("Running in Release Mode"); AppDomain.CurrentDomain.UnhandledException += AppDomainUnloadedException; try { TradeSysBootstrapper bootstraper = new TradeSysBootstrapper(); bootstraper.Run(); } catch (Exception ex) { HandleException(ex); } }