示例#1
0
 /// <summary>
 /// Update the settings from the configuration store
 /// </summary>
 /// <param name="configStore">Pre-initialised configuration store</param>
 protected virtual void UpdateSettings(IConfigurationSource configStore)
 {
     lock (_updateSettingsLock)
     {
         _dbSettings = configStore.LoadValues();
         SettingsUpdated();
         _lastRefreshed = DateTime.UtcNow;
     }
 }