protected static ConfigurationCenter getInstance() { if (instance == null) { lock (_locker) { if (instance == null) { instance = new ConfigurationCenter(); } } } return(instance); }
public static bool load() { return(ConfigurationCenter.getInstance()._load()); }
public static string getValue(string key, string defaultValue = "") { return(ConfigurationCenter.getInstance()._getValue(key, defaultValue)); }
public static bool addConfigurationImpl(IConfiguration config) { return(ConfigurationCenter.getInstance()._addConfigurationImpl(config)); }