コード例 #1
0
        private static void RunInDebugMode()
        {
            Console.WriteLine("Running in Debug Mode");

            TradeSysBootstrapper bootstraper = new TradeSysBootstrapper();

            bootstraper.Run();
        }
コード例 #2
0
        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);
            }
        }