Пример #1
0
 public TestController(ILanguageService languageService,
     ICurrencyService currencyService, ILocalizationService localizationService,
     IWorkContext workContext, IInstallationService installationService,
     IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,            
     IUserService userService, IWebHelper webHelper, ICacheManager cacheManager,
     IPermissionService permissionService, IMobileDeviceHelper mobileDeviceHelper,
     HttpContextBase httpContext, UserSettings userSettings, MediaSettings mediaSettings,
     SiteInformationSettings siteInformationSettings, EmailAccountSettings emailAccountSettings,
     CommonSettings commonSettings, LocalizationSettings localizationSettings)
 {
     this.languageService         = languageService;
     this.currencyService         = currencyService;
     this.localizationService     = localizationService;
     this.workContext             = workContext;
     this.queuedEmailService      = queuedEmailService;
     this.emailAccountService     = emailAccountService;
     this.installationService     = installationService;
     this.userService             = userService;
     this.webHelper               = webHelper;
     this.permissionService       = permissionService;
     this.mobileDeviceHelper      = mobileDeviceHelper;
     this.mediaSettings           = mediaSettings;
     this.httpContext             = httpContext;
     this.userSettings            = userSettings;
     this.siteInformationSettings = siteInformationSettings;
     this.emailAccountSettings    = emailAccountSettings;
     this.cacheManager            = cacheManager;
     this.commonSettings          = commonSettings;
     this.localizationSettings    = localizationSettings;
 }
Пример #2
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;
 }
Пример #3
0
 public CommonController(ILocalizationService localizationService,
     IWorkContext workContext, IWebHelper webHelper, ICacheManager cacheManager,
     MediaSettings mediaSettings, SiteInformationSettings siteInformationSettings)
 {
     this.localizationService     = localizationService;
     this.workContext             = workContext;
     this.webHelper               = webHelper;
     this.mediaSettings           = mediaSettings;
     this.siteInformationSettings = siteInformationSettings;
     this.cacheManager            = cacheManager;
 }
Пример #4
0
 public EmailAccountController(IEmailAccountService emailAccountService,
     ILocalizationService localizationService, ISettingService settingService, 
     IEmailSender emailSender, 
     EmailAccountSettings emailAccountSettings, SiteInformationSettings siteSettings)
 {
     this.emailAccountService = emailAccountService;
     this.localizationService = localizationService;
     this.emailAccountSettings = emailAccountSettings;
     this.emailSender = emailSender;
     this.settingService = settingService;
     this.siteSettings = siteSettings;
 }
Пример #5
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>();
 }
Пример #6
0
 public MessageTokenProvider(ILanguageService languageService,
     ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
     IEmailAccountService emailAccountService,
     ICurrencyService currencyService,IWebHelper webHelper,
     IWorkContext workContext,
     SiteInformationSettings siteSettings, MessageTemplatesSettings templatesSettings,
     EmailAccountSettings emailAccountSettings)
 {
     this.languageService      = languageService;
     this.localizationService  = localizationService;
     this.dateTimeHelper       = dateTimeHelper;
     this.emailAccountService  = emailAccountService;
     this.currencyService      = currencyService;
     this.webHelper            = webHelper;
     this.workContext          = workContext;
     this.siteSettings         = siteSettings;
     this.templatesSettings    = templatesSettings;
     this.emailAccountSettings = emailAccountSettings;
 }
Пример #7
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="storeInformationSettings">Store information settings</param>
 /// <param name="workContext">Work context</param>
 public MobileDeviceHelper(SiteInformationSettings siteInformationSettings,
     IWorkContext workContext)
 {
     this.siteInformationSettings = siteInformationSettings;
     this.workContext             = workContext;
 }
Пример #8
0
 public ExportManager(SiteInformationSettings siteInformationSettings)
 {
     this.siteInformationSettings = siteInformationSettings;
 }