/// <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(); } }
/// <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(); } }