Beispiel #1
0
 public void Save <T>(string key, T setting) where T : class, new()
 {
     if (_settingCache.TryGetValue(key, out object oldSetting))
     {
         _settingCache.TryUpdate(key, setting, oldSetting);
     }
     _dataArchivedService.Archive <T>(key, setting);
 }
 public void Save <T>(string key, T setting) where T : class, new()
 {
     _dataArchivedService.Archive <T>(key, setting);
 }
 public IActionResult Setting(AlipayOptions options)
 {
     _dataArchivedService.Archive(Service.AlipayService.SettingKey, options);
     return(View(options));
 }