public SaveAs ( string configFile ) : void | ||
configFile | string | Fully qualified path name for configuration data file |
return | void |
static public Configuration GetInstance() { if (_Instance == null) { var configFile = GetConfigFileName(); if (!File.Exists(configFile)) { var defaultConfig = new Configuration(); defaultConfig.SaveAs(configFile); } _Instance = ConstructFrom(configFile); } return(_Instance); }
public static Configuration GetInstance() { if (_Instance == null) { var configFile = GetConfigFileName(); if (!File.Exists(configFile)) { var defaultConfig = new Configuration(); defaultConfig.SaveAs(configFile); } _Instance = ConstructFrom(configFile); } return _Instance; }