/// <summary>
 /// Read configuration from app.config and store in FlatBuilderConf instance
 /// </summary>
 /// <param name="args"></param>
 private void GetConfiguration(string[] args)
 {
     _conf = new FlatBuilderConf();
     try
     {
         if (!_conf.Initialize())
         {
             Environment.Exit(0);
         };
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
         Console.WriteLine("Press any key to exit");
         Console.ReadKey();
     }
 }
コード例 #2
0
 /// <summary>
 /// Read configuration from app.config and store in FlatBuilderConf instance
 /// </summary>
 /// <param name="args"></param>
 private void GetConfiguration(string[] args)
 {
     _conf = new FlatBuilderConf();
     try
     {
         if (!_conf.Initialize())
         {
             Environment.Exit(0);
         }
         ;
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
         Console.WriteLine("Press any key to exit");
         Console.ReadKey();
     }
 }