Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public ThemeContext(IWorkContext workContext,
                     ISysContext sysContext,
                     IGenericAttributeService genericAttributeService,
                     ApplicationInformationSettings applicationInformationSettings,
                     IThemeProvider themeProvider)
 {
     this._workContext                    = workContext;
     this._sysContext                     = sysContext;
     this._genericAttributeService        = genericAttributeService;
     this._applicationInformationSettings = applicationInformationSettings;
     this._themeProvider                  = themeProvider;
 }