Exemplo n.º 1
0
 public void Load(ISettingsService settingsService, bool useCache = false)
 {
     _generalSettings = CreateSettings <GeneralSettings>(settingsService, useCache);
     _cacheSettings   = CreateSettings <CacheSettings>(settingsService, useCache);
 }
Exemplo n.º 2
0
 public SiteSettings()
 {
     //Init all settings -- loading after
     _generalSettings = new GeneralSettings();
     _cacheSettings   = new CacheSettings();
 }