/// <summary> /// Force update config data and file with config object. /// Notice: remake xml config even if it exists /// </summary> /// <param name="newConfigForUpdate">Specified object of config</param> #region ForceUpdate // ReSharper disable once UnusedMember.Global public void ForceUpdate(TConfigDataType newConfigForUpdate) { var indexLabel = ConfigFileName + ConfigExtension; ConfigsInformation[indexLabel] = new InitializeConfigFile <TConfigDataType>(ConfigFileName, newConfigForUpdate, true, ConfigsInformation[indexLabel].BaseAppPath, ConfigsInformation[indexLabel].ConfigExtension); }
/// <summary> /// Force update config data and file with config object. /// Notice: remake xml config even if it exists /// </summary> /// <param name="newConfigForUpdate">Specified object of config</param> #region ForceUpdate public void ForceUpdate(TConfigDataType newConfigForUpdate) { _configsInformation[ConfigFileName] = new InitializeConfigFile <TConfigDataType>(ConfigFileName, newConfigForUpdate, true); }