Exemple #1
0
        public MessageTokenProvider(ILanguageService languageService,
                                    ILocalizationService localizationService,
                                    IDateTimeHelper dateTimeHelper,
                                    ICurrencyService currencyService,
                                    IWorkContext workContext,
                                    IApplicationService applicationService,
                                    ISysContext sysContext,
                                    IAddressAttributeFormatter addressAttributeFormatter,
                                    IUserAttributeFormatter userAttributeFormatter,
                                    MessageTemplatesSettings templatesSettings,
                                    CatalogSettings catalogSettings,
                                    CurrencySettings currencySettings,
                                    IEventPublisher eventPublisher,
                                    ApplicationInformationSettings applicationInformationSettings)
        {
            this._languageService           = languageService;
            this._localizationService       = localizationService;
            this._dateTimeHelper            = dateTimeHelper;
            this._currencyService           = currencyService;
            this._workContext               = workContext;
            this._addressAttributeFormatter = addressAttributeFormatter;
            this._userAttributeFormatter    = userAttributeFormatter;
            this._applicationService        = applicationService;
            this._sysContext = sysContext;

            this._templatesSettings = templatesSettings;
            this._catalogSettings   = catalogSettings;
            this._currencySettings  = currencySettings;
            this._eventPublisher    = eventPublisher;
            this._applicationInformationSettings = applicationInformationSettings;
        }
 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;
 }
 public ExportManager(AddressSettings addressSettings,
                      UserSettings userSettings,
                      ICountryService countryService,
                      IUserAttributeFormatter userAttributeFormatter,
                      IUserService userService,
                      IDateTimeHelper dateTimeHelper,
                      IGenericAttributeService genericAttributeService,
                      ILocalizationService localizationService,
                      INewsLetterSubscriptionService newsLetterSubscriptionService,
                      IPictureService pictureService,
                      IStateProvinceService stateProvinceService,
                      IUrlRecordService urlRecordService,
                      IWorkContext workContext)
 {
     this._addressSettings               = addressSettings;
     this._userSettings                  = userSettings;
     this._countryService                = countryService;
     this._userAttributeFormatter        = userAttributeFormatter;
     this._userService                   = userService;
     this._dateTimeHelper                = dateTimeHelper;
     this._genericAttributeService       = genericAttributeService;
     this._localizationService           = localizationService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._pictureService                = pictureService;
     this._stateProvinceService          = stateProvinceService;
     this._urlRecordService              = urlRecordService;
     this._workContext                   = workContext;
 }