예제 #1
0
        static void Main(string[] args)
        {
            HeaderGen gen = new HeaderGen();
            string configFile = args.Length > 0 ? args[0] : "options.txt";

            try
            {
                gen.LoadConfig(configFile);
                gen.Execute();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
        }
예제 #2
0
        static void Main(string[] args)
        {
            HeaderGen gen        = new HeaderGen();
            string    configFile = args.Length > 0 ? args[0] : "options.txt";

            try
            {
                gen.LoadConfig(configFile);
                gen.Execute();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
        }