コード例 #1
0
        private static void Main(string[] args)
        {
            dispatcher dsp = new dispatcher();

            try
            {
                Console.WriteLine(Configuration.getVersion());
                Console.WriteLine(Configuration.getdotNet());
                resultClass token = dsp.dispatch(args);
                if (token.debug)
                {
                    Console.WriteLine("Successful completion.");
                }
                dsp.Elapsed_Time();
                if (token.test)
                {
                    Console.ReadKey();
                }
            }
            catch (Exception ex)
            {
                dsp.Elapsed_Time();
                Console.WriteLine(ex.ToString());
                if (_options.test)
                {
                    Console.ReadKey();
                }
            }
        }
コード例 #2
0
        private static void Main(string[] args)
        {
            Configuration.configuration(args);
            dispatcher dsp = new dispatcher();

            resultClass token = dsp.dispatch();

            if (token.debug)
            {
                Console.ReadKey();
            }
        }
コード例 #3
0
        private static void Main(string[] args)
        {
            try
            {
                Configuration.configuration(args);
                dispatcher dsp = new dispatcher();

                resultClass token = dsp.dispatch();
                if (_options.debug)
                {
                    Console.ReadKey();
                }
            }
            catch (Exception ex)
            {
                Console.Error.WriteLine(ex.Message);
                if (_options.debug)
                {
                    Console.ReadKey();
                }
            }
        }