예제 #1
0
 public CustomRestApiSiteSettingsPartViewModel(
     CustomRestApiSiteSettingsPart part) : this()
 {
     if (!string.IsNullOrWhiteSpace(part.ConfigurationJson))
     {
         ConfigurationJson = part.ConfigurationJson;
     }
 }
예제 #2
0
 private void EvictCache(CustomRestApiSiteSettingsPart part)
 {
     // Settings part is cached to avoid expensive trips to the db on every call
     _signals.Trigger(CustomRestApiHelper.SettingsCacheKey);
 }