コード例 #1
0
 public CommonController(CaptchaSettings captchaSettings,
                         CommonSettings commonSettings,
                         ICommonModelFactory commonModelFactory,
                         ICurrencyService currencyService,
                         ICustomerActivityService customerActivityService,
                         IGenericAttributeService genericAttributeService,
                         ILanguageService languageService,
                         ILocalizationService localizationService,
                         ILogger logger,
                         IStoreContext storeContext,
                         IThemeContext themeContext,
                         IVendorService vendorService,
                         IWorkContext workContext,
                         IWorkflowMessageService workflowMessageService,
                         LocalizationSettings localizationSettings,
                         StoreInformationSettings storeInformationSettings,
                         VendorSettings vendorSettings,
                         IThemeModelFactory themeModelFactory)
 {
     this._captchaSettings         = captchaSettings;
     this._commonSettings          = commonSettings;
     this._commonModelFactory      = commonModelFactory;
     this._currencyService         = currencyService;
     this._customerActivityService = customerActivityService;
     this._genericAttributeService = genericAttributeService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._logger                   = logger;
     this._storeContext             = storeContext;
     this._themeContext             = themeContext;
     this._vendorService            = vendorService;
     this._workContext              = workContext;
     this._workflowMessageService   = workflowMessageService;
     this._localizationSettings     = localizationSettings;
     this._storeInformationSettings = storeInformationSettings;
     this._vendorSettings           = vendorSettings;
     this.themeModelFactory         = themeModelFactory;
 }
コード例 #2
0
 public ThemeController(IThemeModelFactory themeModelFactory, CommonSettings commonSettings)
 {
     this._themeModelFactory = themeModelFactory;
     this.commonSettings     = commonSettings;
 }