Ejemplo n.º 1
0
        public MessageTokenProvider(ILanguageService languageService,
                                    ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
                                    IEmailAccountService emailAccountService, EmailAccountSettings emailAccountSettings,
                                    IWebHelper webHelper,
                                    IWorkContext workContext, IDownloadService downloadService,
                                    SiteInformationSettings siteInfoSettings, CompanyInformationSettings companyInfoSettings,
                                    ContactDataSettings contactDataSettings, BankConnectionSettings bankConnectionSettings,
                                    MessageTemplatesSettings templatesSettings, SiteSettings siteSettings,
                                    IEventPublisher eventPublisher)
        {
            this._languageService     = languageService;
            this._localizationService = localizationService;
            this._dateTimeHelper      = dateTimeHelper;
            this._emailAccountService = emailAccountService;
            this._webHelper           = webHelper;
            this._workContext         = workContext;
            this._downloadService     = downloadService;
            this._siteSettings        = siteSettings;

            this._siteInfoSettings     = siteInfoSettings;
            this._templatesSettings    = templatesSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._eventPublisher       = eventPublisher;

            this._companyInfoSettings    = companyInfoSettings;
            this._contactDataSettings    = contactDataSettings;
            this._bankConnectionSettings = bankConnectionSettings;
        }
 public CommonController(CaptchaSettings captchaSettings,
                         CommonSettings commonSettings,
                         ICommonModelFactory commonModelFactory,
                         IUserActivityService userActivityService,
                         IGenericAttributeService genericAttributeService,
                         ILanguageService languageService,
                         ILocalizationService localizationService,
                         ILogger logger,
                         IThemeContext themeContext,
                         IWorkContext workContext,
                         IWorkflowMessageService workflowMessageService,
                         LocalizationSettings localizationSettings,
                         SiteInformationSettings siteInformationSettings)
 {
     this._captchaSettings         = captchaSettings;
     this._commonSettings          = commonSettings;
     this._commonModelFactory      = commonModelFactory;
     this._userActivityService     = userActivityService;
     this._genericAttributeService = genericAttributeService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._logger                  = logger;
     this._themeContext            = themeContext;
     this._workContext             = workContext;
     this._workflowMessageService  = workflowMessageService;
     this._localizationSettings    = localizationSettings;
     this._siteInformationSettings = siteInformationSettings;
 }
 public MessageTokenProvider(IActionContextAccessor actionContextAccessor,
                             IAddressAttributeFormatter addressAttributeFormatter,
                             IUserAttributeFormatter userAttributeFormatter,
                             IUserService userService,
                             IDateTimeHelper dateTimeHelper,
                             IDownloadService downloadService,
                             IEventPublisher eventPublisher,
                             IGenericAttributeService genericAttributeService,
                             ILanguageService languageService,
                             ILocalizationService localizationService,
                             IUrlHelperFactory urlHelperFactory,
                             IUrlRecordService urlRecordService,
                             IWorkContext workContext,
                             MessageTemplatesSettings templatesSettings,
                             SiteInformationSettings siteInformationSettings)
 {
     this._actionContextAccessor     = actionContextAccessor;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._userAttributeFormatter    = userAttributeFormatter;
     this._userService             = userService;
     this._dateTimeHelper          = dateTimeHelper;
     this._downloadService         = downloadService;
     this._eventPublisher          = eventPublisher;
     this._genericAttributeService = genericAttributeService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._urlHelperFactory        = urlHelperFactory;
     this._urlRecordService        = urlRecordService;
     this._workContext             = workContext;
     this._templatesSettings       = templatesSettings;
     this._siteInformationSettings = siteInformationSettings;
 }
Ejemplo n.º 4
0
 public UserController(AddressSettings addressSettings,
                       CaptchaSettings captchaSettings,
                       UserSettings userSettings,
                       DateTimeSettings dateTimeSettings,
                       IDownloadService downloadService,
                       IAddressAttributeParser addressAttributeParser,
                       IAddressModelFactory addressModelFactory,
                       IAddressService addressService,
                       IAuthenticationService authenticationService,
                       ICountryService countryService,
                       IUserActivityService userActivityService,
                       IUserAttributeParser userAttributeParser,
                       IUserAttributeService userAttributeService,
                       IUserModelFactory userModelFactory,
                       IUserRegistrationService userRegistrationService,
                       IUserService userService,
                       IEventPublisher eventPublisher,
                       IExportManager exportManager,
                       IExternalAuthenticationService externalAuthenticationService,
                       IGenericAttributeService genericAttributeService,
                       ILocalizationService localizationService,
                       INewsLetterSubscriptionService newsLetterSubscriptionService,
                       IPictureService pictureService,
                       IWebHelper webHelper,
                       IWorkContext workContext,
                       IWorkflowMessageService workflowMessageService,
                       LocalizationSettings localizationSettings,
                       MediaSettings mediaSettings,
                       SiteInformationSettings siteInformationSettings)
 {
     this._addressSettings               = addressSettings;
     this._captchaSettings               = captchaSettings;
     this._userSettings                  = userSettings;
     this._dateTimeSettings              = dateTimeSettings;
     this._downloadService               = downloadService;
     this._addressAttributeParser        = addressAttributeParser;
     this._addressModelFactory           = addressModelFactory;
     this._addressService                = addressService;
     this._authenticationService         = authenticationService;
     this._countryService                = countryService;
     this._userActivityService           = userActivityService;
     this._userAttributeParser           = userAttributeParser;
     this._userAttributeService          = userAttributeService;
     this._userModelFactory              = userModelFactory;
     this._userRegistrationService       = userRegistrationService;
     this._userService                   = userService;
     this._eventPublisher                = eventPublisher;
     this._exportManager                 = exportManager;
     this._externalAuthenticationService = externalAuthenticationService;
     this._genericAttributeService       = genericAttributeService;
     this._localizationService           = localizationService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._pictureService                = pictureService;
     this._webHelper               = webHelper;
     this._workContext             = workContext;
     this._workflowMessageService  = workflowMessageService;
     this._localizationSettings    = localizationSettings;
     this._mediaSettings           = mediaSettings;
     this._siteInformationSettings = siteInformationSettings;
 }
Ejemplo n.º 5
0
 public EuCookieLawViewComponent(IGenericAttributeService genericAttributeService,
                                 IWorkContext workContext,
                                 SiteInformationSettings siteInformationSettings)
 {
     this._genericAttributeService = genericAttributeService;
     this._workContext             = workContext;
     this._siteInformationSettings = siteInformationSettings;
 }
Ejemplo n.º 6
0
 public ThemeContext(IWorkContext workContext, IUserService userService,
     SiteInformationSettings siteInformationSettings, IThemeProvider themeProvider)
 {
     this._workContext             = workContext;
     this._userService             = userService;
     this._siteInformationSettings = siteInformationSettings;
     this._themeProvider           = themeProvider;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="themeProvider">Theme provider</param>
 /// <param name="workContext">Work context</param>
 /// <param name="siteInformationSettings">Site information settings</param>
 public ThemeContext(IGenericAttributeService genericAttributeService,
                     IThemeProvider themeProvider,
                     IWorkContext workContext,
                     SiteInformationSettings siteInformationSettings)
 {
     this._genericAttributeService = genericAttributeService;
     this._themeProvider           = themeProvider;
     this._workContext             = workContext;
     this._siteInformationSettings = siteInformationSettings;
 }
Ejemplo n.º 8
0
 public UserController(IUserModelFactory userModelFactory,
                       IAuthenticationService authenticationService,
                       IUserService userService,
                       IUserRegistrationService userRegistrationService,
                       UserSettings userSettings,
                       SiteInformationSettings siteInformationSettings)
 {
     this._userModelFactory        = userModelFactory;
     this._authenticationService   = authenticationService;
     this._userRegistrationService = userRegistrationService;
     this._userService             = userService;
     this._userSettings            = userSettings;
     this._siteInformationSettings = siteInformationSettings;
 }
 public CommonModelFactory(CaptchaSettings captchaSettings,
                           CommonSettings commonSettings,
                           UserSettings userSettings,
                           DisplayDefaultFooterItemSettings displayDefaultFooterItemSettings,
                           IActionContextAccessor actionContextAccessor,
                           IUserService userService,
                           IGenericAttributeService genericAttributeService,
                           IHostingEnvironment hostingEnvironment,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           INopFileProvider fileProvider,
                           IPageHeadBuilder pageHeadBuilder,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           ISitemapGenerator sitemapGenerator,
                           IStaticCacheManager cacheManager,
                           IThemeContext themeContext,
                           IThemeProvider themeProvider,
                           IUrlHelperFactory urlHelperFactory,
                           IUrlRecordService urlRecordService,
                           IWebHelper webHelper,
                           IWorkContext workContext,
                           LocalizationSettings localizationSettings,
                           SiteInformationSettings siteInformationSettings)
 {
     this._captchaSettings = captchaSettings;
     this._commonSettings  = commonSettings;
     this._userSettings    = userSettings;
     this._displayDefaultFooterItemSettings = displayDefaultFooterItemSettings;
     this._actionContextAccessor            = actionContextAccessor;
     this._userService             = userService;
     this._genericAttributeService = genericAttributeService;
     this._hostingEnvironment      = hostingEnvironment;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._fileProvider            = fileProvider;
     this._pageHeadBuilder         = pageHeadBuilder;
     this._permissionService       = permissionService;
     this._pictureService          = pictureService;
     this._sitemapGenerator        = sitemapGenerator;
     this._cacheManager            = cacheManager;
     this._themeContext            = themeContext;
     this._themeProvider           = themeProvider;
     this._urlHelperFactory        = urlHelperFactory;
     this._urlRecordService        = urlRecordService;
     this._webHelper               = webHelper;
     this._workContext             = workContext;
     this._localizationSettings    = localizationSettings;
     this._siteInformationSettings = siteInformationSettings;
 }
Ejemplo n.º 10
0
 public CommonController(
     IWebHelper webHelper,
     ILanguageService languageService,
     IWorkContext workContext,
     ISiteContext siteContext,
     IUserService userService,
     ILocalizationService localizationService,
     Lazy <SecuritySettings> securitySettings,
     Lazy <IMenuPublisher> menuPublisher,
     Lazy <CurrencySettings> currencySettings,
     Lazy <MeasureSettings> measureSettings,
     Lazy <IMeasureService> measureService,
     Lazy <IDateTimeHelper> dateTimeHelper,
     Lazy <IPluginFinder> pluginFinder,
     Lazy <IImageCache> imageCache,
     IPermissionService permissionService,
     IGenericAttributeService genericAttributeService,
     IArticleService articleService,
     ICommonServices services,
     IDbContext dbContext,
     SiteInformationSettings siteSettings,
     Func <string, ICacheManager> cache)
 {
     this._webHelper               = webHelper;
     this._currencySettings        = currencySettings;
     this._measureSettings         = measureSettings;
     this._measureService          = measureService;
     this._languageService         = languageService;
     this._workContext             = workContext;
     this._siteContext             = siteContext;
     this._userService             = userService;
     this._localizationService     = localizationService;
     this._securitySettings        = securitySettings;
     this._menuPublisher           = menuPublisher;
     this._pluginFinder            = pluginFinder;
     this._genericAttributeService = genericAttributeService;
     this._permissionService       = permissionService;
     this._dateTimeHelper          = dateTimeHelper;
     this._imageCache              = imageCache;
     this._dbContext               = dbContext;
     this._cache          = cache;
     this._services       = services;
     this._articleService = articleService;
     this._siteSettings   = siteSettings;
 }
Ejemplo n.º 11
0
 public MessageTokenProvider(IActionContextAccessor actionContextAccessor,
                             IUserService userService,
                             //    IDownloadService downloadService,
                             IEventPublisher eventPublisher,
                             IUrlHelperFactory urlHelperFactory,
                             IWorkContext workContext,
                             SiteInformationSettings siteInformationSettings,
                             IGenericAttributeService genericAttributeService)
 {
     this._actionContextAccessor = actionContextAccessor;
     this._userService           = userService;
     //     this._downloadService = downloadService;
     this._eventPublisher          = eventPublisher;
     this._urlHelperFactory        = urlHelperFactory;
     this._workContext             = workContext;
     this._siteInformationSettings = siteInformationSettings;
     this._genericAttributeService = genericAttributeService;
 }
Ejemplo n.º 12
0
 public ArticleCategoryController(
     IModelTemplateService modelTemplateService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     IUserService userService,
     UserSettings userSettings,
     IArticleCategoryService categoryService,
     IUrlRecordService urlRecordService,
     ILanguageService languageService,
     IPictureService pictureService,
     IAclService aclService,
     IUserActivityService userActivityService,
     ISiteService siteService, ISiteMappingService siteMappingService,
     IDateTimeHelper dateTimeHelper,
     IEventPublisher eventPublisher,
     ArticleCatalogSettings catalogSettings,
     IPermissionService permissionService,
     IChannelService channelService,
     IWorkContext workContext,
     ISiteContext siteContext,
     SiteInformationSettings siteSettings)
 {
     this._modelTemplateService   = modelTemplateService;
     this._categoryService        = categoryService;
     this._localizedEntityService = localizedEntityService;
     this._urlRecordService       = urlRecordService;
     this._localizationService    = localizationService;
     this._userService            = userService;
     this._userSettings           = userSettings;
     this._userActivityService    = userActivityService;
     this._aclService             = aclService;
     this._languageService        = languageService;
     this._pictureService         = pictureService;
     this._siteService            = siteService;
     this._siteMappingService     = siteMappingService;
     this._dateTimeHelper         = dateTimeHelper;
     this._eventPublisher         = eventPublisher;
     this._workContext            = workContext;
     this._catalogSettings        = catalogSettings;
     this._permissionService      = permissionService;
     this._channelService         = channelService;
     this._siteContext            = siteContext;
     this._siteSettings           = siteSettings;
 }
Ejemplo n.º 13
0
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="languageService">Language service</param>
        /// <param name="localizationService">Localization service</param>
        /// <param name="dateTimeHelper">Datetime helper</param>
        /// <param name="priceFormatter">Price formatter</param>
        /// <param name="currencyService">Currency service</param>
        /// <param name="workContext">Work context</param>
        /// <param name="downloadService">Download service</param>
        /// <param name="orderService">Order service</param>
        /// <param name="paymentService">Payment service</param>
        /// <param name="siteService">Site service</param>
        /// <param name="siteContext">Site context</param>
        /// <param name="productAttributeParser">Product attribute parser</param>
        /// <param name="addressAttributeFormatter">Address attribute formatter</param>
        /// <param name="userAttributeFormatter">User attribute formatter</param>
        /// <param name="vendorAttributeFormatter">Vendor attribute formatter</param>
        /// <param name="urlHelperFactory">URL Helper factory</param>
        /// <param name="actionContextAccessor">Action context accessor</param>
        /// <param name="templatesSettings">Templates settings</param>
        /// <param name="catalogSettings">Catalog settings</param>
        /// <param name="taxSettings">Tax settings</param>
        /// <param name="currencySettings">Currency settings</param>
        /// <param name="shippingSettings">Shipping settings</param>
        /// <param name="paymentSettings">Payment settings</param>
        /// <param name="eventPublisher">Event publisher</param>
        /// <param name="siteInformationSettings">SiteInformation settings</param>
        public MessageTokenProvider(IWorkContext workContext,
                                    IDownloadService downloadService,
                                    ISiteService siteService,
                                    ISiteContext siteContext,
                                    IUrlHelperFactory urlHelperFactory,
                                    IActionContextAccessor actionContextAccessor,
                                    MessageTemplatesSettings templatesSettings,
                                    IEventPublisher eventPublisher,
                                    SiteInformationSettings siteInformationSettings)
        {
            this._workContext           = workContext;
            this._downloadService       = downloadService;
            this._urlHelperFactory      = urlHelperFactory;
            this._actionContextAccessor = actionContextAccessor;
            this._siteService           = siteService;
            this._siteContext           = siteContext;

            this._templatesSettings       = templatesSettings;
            this._eventPublisher          = eventPublisher;
            this._siteInformationSettings = siteInformationSettings;
        }
Ejemplo n.º 14
0
        public CommonController(
            ILanguageService languageService,
            ILocalizationService localizationService,
            IWorkContext workContext,
            IQueuedEmailService queuedEmailService,
            IEmailAccountService emailAccountService,
            ISitemapGenerator sitemapGenerator,
            IGenericAttributeService genericAttributeService,
            IWebHelper webHelper,
            IPermissionService permissionService,
            ICacheManager cacheManager,
            IUserActivityService userActivityService,
            UserSettings userSettings,
            SiteInformationSettings siteInformationSettings,
            EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings,
            LocalizationSettings localizationSettings,
            CaptchaSettings captchaSettings)
        {
            this._languageService         = languageService;
            this._localizationService     = localizationService;
            this._workContext             = workContext;
            this._queuedEmailService      = queuedEmailService;
            this._emailAccountService     = emailAccountService;
            this._sitemapGenerator        = sitemapGenerator;
            this._genericAttributeService = genericAttributeService;
            this._webHelper           = webHelper;
            this._permissionService   = permissionService;
            this._cacheManager        = cacheManager;
            this._userActivityService = userActivityService;

            this._userSettings            = userSettings;
            this._siteInformationSettings = siteInformationSettings;
            this._emailAccountSettings    = emailAccountSettings;
            this._commonSettings          = commonSettings;
            this._localizationSettings    = localizationSettings;
            this._captchaSettings         = captchaSettings;
        }