Example #1
0
 public SettingController( SiteInformationSettings siteInformationSettings, 
     DomainSettings domainSettings, SeoSettings seoSettings,
     SecuritySettings securitySettings, ISettingService settingService)
 {
     this.siteInformationSettings = siteInformationSettings;
     this.domainSettings          = domainSettings;
     this.securitySettings        = securitySettings;
     this.seoSettings             = seoSettings;
     this.settingService          = settingService;
 }
Example #2
0
 public PageTitleBuilder(SeoSettings seoSettings, SiteInformationSettings siteSettings,
     IWebHelper webHelper)
 {
     this._seoSettings          = seoSettings;
     this._webHelper            = webHelper;
     this.siteSettings          = siteSettings;
     this._titleParts           = new List<string>();
     this._metaDescriptionParts = new List<string>();
     this._metaKeywordParts     = new List<string>();
     this._scriptParts          = new Dictionary<ResourceLocation, List<string>>();
     this._cssParts             = new Dictionary<ResourceLocation,List<string>>();
     this._canonicalUrlParts    = new List<string>();
 }