private StoreDependingSettingHelper _storeDependingSettings;	// codehint: sm-add

		#endregion

		#region Constructors

        public SettingController(ISettingService settingService,
            ICountryService countryService, IStateProvinceService stateProvinceService,
            IAddressService addressService, ITaxCategoryService taxCategoryService,
            ICurrencyService currencyService, IPictureService pictureService, 
            ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
            IOrderService orderService, IEncryptionService encryptionService,
            IThemeRegistry themeRegistry, ICustomerService customerService, 
            ICustomerActivityService customerActivityService, IPermissionService permissionService,
            IWebHelper webHelper, IFulltextService fulltextService,
			IMaintenanceService maintenanceService, IStoreService storeService,
			IWorkContext workContext, IGenericAttributeService genericAttributeService)
        {
            this._settingService = settingService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._addressService = addressService;
            this._taxCategoryService = taxCategoryService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._orderService = orderService;
            this._encryptionService = encryptionService;
            this._themeRegistry = themeRegistry;
            this._customerService = customerService;
            this._customerActivityService = customerActivityService;
            this._permissionService = permissionService;
            this._webHelper = webHelper;
            this._fulltextService = fulltextService;
            this._maintenanceService = maintenanceService;
			this._storeService = storeService;
			this._workContext = workContext;
			this._genericAttributeService = genericAttributeService;
        }
Example #2
0
 public CommonController(
     SmartDbContext db,
     IGeoCountryLookup countryLookup,
     ICookieConsentManager cookieConsentManager,
     Lazy <IMediaService> mediaService,
     ILanguageService languageService,
     UrlPolicy urlPolicy,
     IWebHelper webHelper,
     IThemeContext themeContext,
     IThemeRegistry themeRegistry,
     ThemeSettings themeSettings,
     SeoSettings seoSettings,
     LocalizationSettings localizationSettings,
     PrivacySettings privacySettings)
 {
     _db                   = db;
     _countryLookup        = countryLookup;
     _cookieConsentManager = cookieConsentManager;
     _mediaService         = mediaService;
     _languageService      = languageService;
     _urlPolicy            = urlPolicy;
     _webHelper            = webHelper;
     _themeContext         = themeContext;
     _themeRegistry        = themeRegistry;
     _themeSettings        = themeSettings;
     _seoSettings          = seoSettings;
     _localizationSettings = localizationSettings;
     _privacySettings      = privacySettings;
 }
Example #3
0
        public CommonController(
            ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService,
            IWorkContext workContext,
            IStoreContext storeContext,
            IThemeContext themeContext,
            IThemeRegistry themeRegistry,
            IForumService forumService,
            IGenericAttributeService genericAttributeService,
            IWebHelper webHelper,
            IPermissionService permissionService,
            IMobileDeviceHelper mobileDeviceHelper,
            ICacheManager cacheManager,
            CustomerSettings customerSettings,
            TaxSettings taxSettings,
            CatalogSettings catalogSettings,
            EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings,
            BlogSettings blogSettings,
            ForumSettings forumSettings,
            LocalizationSettings localizationSettings,
            IOrderTotalCalculationService orderTotalCalculationService,
            IPriceFormatter priceFormatter,
            ThemeSettings themeSettings,
            ISettingService settingService)
        {
            this._topicService            = topicService;
            this._languageService         = languageService;
            this._currencyService         = currencyService;
            this._workContext             = workContext;
            this._storeContext            = storeContext;
            this._themeContext            = themeContext;
            this._themeRegistry           = themeRegistry;
            this._forumservice            = forumService;
            this._genericAttributeService = genericAttributeService;
            this._webHelper          = webHelper;
            this._permissionService  = permissionService;
            this._mobileDeviceHelper = mobileDeviceHelper;
            this._cacheManager       = cacheManager;

            this._customerSettings     = customerSettings;
            this._taxSettings          = taxSettings;
            this._catalogSettings      = catalogSettings;
            this._commonSettings       = commonSettings;
            this._blogSettings         = blogSettings;
            this._forumSettings        = forumSettings;
            this._localizationSettings = localizationSettings;

            this._orderTotalCalculationService = orderTotalCalculationService;
            this._priceFormatter = priceFormatter;

            this._themeSettings  = themeSettings;
            this._settingService = settingService;
            T = NullLocalizer.Instance;
        }
Example #4
0
        public DefaultThemeFileResolver(IThemeRegistry themeRegistry)
        {
            _themeRegistry = themeRegistry;

            // Listen to file monitoring events
            _themeRegistry.ThemeFolderDeleted += OnThemeFolderDeleted;
            _themeRegistry.ThemeFolderRenamed += OnThemeFolderRenamed;
            _themeRegistry.BaseThemeChanged   += OnBaseThemeChanged;
            _themeRegistry.ThemeFileChanged   += OnThemeFileChanged;
        }
Example #5
0
        public ThemeFileResolver(IThemeRegistry themeRegistry)
        {
            this._themeRegistry = themeRegistry;

            // listen to file monitoring events
            this._themeRegistry.ThemeFolderDeleted += OnThemeFolderDeleted;
            this._themeRegistry.ThemeFolderRenamed += OnThemeFolderRenamed;
            this._themeRegistry.BaseThemeChanged   += OnBaseThemeChanged;
            this._themeRegistry.ThemeFileChanged   += OnThemeFileChanged;
        }
        public ThemeController(
			IThemeRegistry themeRegistry, 
			IThemeVariablesService themeVarService,
			IThemeContext themeContext,
			IStoreContext storeContext)
		{
            this._themeRegistry = themeRegistry;
            this._themeVarService = themeVarService;
			this._themeContext = themeContext;
			this._storeContext = storeContext;
		}
 public ThemeVariablesService(
     IRepository <ThemeVariable> rsVariables,
     IThemeRegistry themeRegistry,
     IRequestCache requestCache,
     IEventPublisher eventPublisher)
 {
     this._rsVariables    = rsVariables;
     this._themeRegistry  = themeRegistry;
     this._requestCache   = requestCache;
     this._eventPublisher = eventPublisher;
 }
        public ThemeVariablesService(
            IRepository<ThemeVariable> rsVariables, 
			IThemeRegistry themeRegistry,
            ICacheManager cacheManager, 
			IEventPublisher eventPublisher)
        {
            this._rsVariables = rsVariables;
            this._themeRegistry = themeRegistry;
            this._cacheManager = cacheManager;
            this._eventPublisher = eventPublisher;
        }
Example #9
0
 public ThemeVariablesService(
     IRepository <ThemeVariable> rsVariables,
     IThemeRegistry themeRegistry,
     ICacheManager cacheManager,
     IEventPublisher eventPublisher)
 {
     this._rsVariables    = rsVariables;
     this._themeRegistry  = themeRegistry;
     this._cacheManager   = cacheManager;
     this._eventPublisher = eventPublisher;
 }
Example #10
0
 private void EnsureThemeContextInitialized()
 {
     if (_themeRegistry == null)
     {
         _themeRegistry = EngineContext.Current.Resolve <IThemeRegistry>();
     }
     if (_themeContext == null)
     {
         _themeContext = EngineContext.Current.Resolve <IThemeContext>();
     }
 }
 public DefaultThemeContext(
     IWorkContext workContext,
     ThemeSettings themeSettings,
     IThemeRegistry themeRegistry,
     IHttpContextAccessor httpContextAccessor)
 {
     _workContext   = workContext;
     _themeSettings = themeSettings;
     _themeRegistry = themeRegistry;
     _httpContext   = httpContextAccessor.HttpContext;
 }
Example #12
0
 public ThemeController(
     IThemeRegistry themeRegistry,
     IThemeVariablesService themeVarService,
     IThemeContext themeContext,
     IStoreContext storeContext)
 {
     this._themeRegistry   = themeRegistry;
     this._themeVarService = themeVarService;
     this._themeContext    = themeContext;
     this._storeContext    = storeContext;
 }
Example #13
0
 public ThemeController(
     IThemeRegistry themeRegistry,
     IThemeVariablesService themeVarService,
     IThemeContext themeContext,
     IAssetCache assetCache)
 {
     _themeVarService = themeVarService;
     _themeRegistry   = themeRegistry;
     _themeContext    = themeContext;
     _assetCache      = assetCache;
 }
        protected SmartVirtualPathProvider()
        {
            var appRootPath = HostingEnvironment.MapPath("~/").EnsureEndsWith("\\");

            var pluginsDebugPath = Path.GetFullPath(Path.Combine(appRootPath, @"..\..\Plugins"));

            if (Directory.Exists(pluginsDebugPath))
            {
                _pluginsDebugDir = new DirectoryInfo(pluginsDebugPath);
            }

            _themeRegistry = EngineContext.Current.Resolve <IThemeRegistry>();
        }
		public PackageManager(
			IPluginFinder pluginFinder,
			IThemeRegistry themeRegistry,
			IPackageBuilder packageBuilder,
			IPackageInstaller packageInstaller,
			Log.ILogger logger)
		{
			_pluginFinder = pluginFinder;
			_themeRegistry = themeRegistry;
			_packageBuilder = packageBuilder;
			_packageInstaller = packageInstaller;
			_logger = logger;
		}
 public PackageManager(
     IPluginFinder pluginFinder,
     IThemeRegistry themeRegistry,
     IPackageBuilder packageBuilder,
     IPackageInstaller packageInstaller,
     Log.ILogger logger)
 {
     _pluginFinder     = pluginFinder;
     _themeRegistry    = themeRegistry;
     _packageBuilder   = packageBuilder;
     _packageInstaller = packageInstaller;
     _logger           = logger;
 }
        public CommonController(
            ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService,
            IThemeContext themeContext,
            IThemeRegistry themeRegistry,
            IForumService forumService,
            IGenericAttributeService genericAttributeService,
            IMobileDeviceHelper mobileDeviceHelper,
            CustomerSettings customerSettings,
            TaxSettings taxSettings,
            CatalogSettings catalogSettings,
            EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings,
            BlogSettings blogSettings,
            ForumSettings forumSettings,
            LocalizationSettings localizationSettings,
            IOrderTotalCalculationService orderTotalCalculationService,
            IPriceFormatter priceFormatter,
            ThemeSettings themeSettings,
            IPageAssetsBuilder pageAssetsBuilder,
            Lazy <IPictureService> pictureService,
            ICommonServices services)
        {
            this._topicService            = topicService;
            this._languageService         = languageService;
            this._currencyService         = currencyService;
            this._themeContext            = themeContext;
            this._themeRegistry           = themeRegistry;
            this._forumservice            = forumService;
            this._genericAttributeService = genericAttributeService;
            this._mobileDeviceHelper      = mobileDeviceHelper;

            this._customerSettings     = customerSettings;
            this._taxSettings          = taxSettings;
            this._catalogSettings      = catalogSettings;
            this._commonSettings       = commonSettings;
            this._blogSettings         = blogSettings;
            this._forumSettings        = forumSettings;
            this._localizationSettings = localizationSettings;

            this._orderTotalCalculationService = orderTotalCalculationService;
            this._priceFormatter = priceFormatter;

            this._themeSettings     = themeSettings;
            this._pageAssetsBuilder = pageAssetsBuilder;
            this._pictureService    = pictureService;
            this._services          = services;

            T = NullLocalizer.Instance;
        }
        public CommonController(
			ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService,
			IThemeContext themeContext,
            IThemeRegistry themeRegistry, 
			IForumService forumService,
            IGenericAttributeService genericAttributeService, 
			IMobileDeviceHelper mobileDeviceHelper,
			CustomerSettings customerSettings, 
            TaxSettings taxSettings, 
			CatalogSettings catalogSettings,
            EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings, 
			BlogSettings blogSettings, 
			ForumSettings forumSettings,
            LocalizationSettings localizationSettings, 
            IOrderTotalCalculationService orderTotalCalculationService, 
			IPriceFormatter priceFormatter,
            ThemeSettings themeSettings, 
			IPageAssetsBuilder pageAssetsBuilder,
			Lazy<IPictureService> pictureService,
			ICommonServices services)
        {
            this._topicService = topicService;
            this._languageService = languageService;
            this._currencyService = currencyService;
            this._themeContext = themeContext;
            this._themeRegistry = themeRegistry;
            this._forumservice = forumService;
            this._genericAttributeService = genericAttributeService;
            this._mobileDeviceHelper = mobileDeviceHelper;

            this._customerSettings = customerSettings;
            this._taxSettings = taxSettings;
            this._catalogSettings = catalogSettings;
            this._commonSettings = commonSettings;
            this._blogSettings = blogSettings;
            this._forumSettings = forumSettings;
            this._localizationSettings = localizationSettings;

            this._orderTotalCalculationService = orderTotalCalculationService;
            this._priceFormatter = priceFormatter;

            this._themeSettings = themeSettings;
            this._pageAssetsBuilder = pageAssetsBuilder;
            this._pictureService = pictureService;
            this._services = services;

            T = NullLocalizer.Instance;
        }
 public PackageInstaller(
     IVirtualPathProvider virtualPathProvider,
     IPluginFinder pluginFinder,
     IThemeRegistry themeRegistry,
     IFolderUpdater folderUpdater,
     INotifier notifier,
     Log.ILogger logger)
 {
     _virtualPathProvider = virtualPathProvider;
     _pluginFinder        = pluginFinder;
     _themeRegistry       = themeRegistry;
     _folderUpdater       = folderUpdater;
     _notifier            = notifier;
     _logger = logger;
 }
Example #20
0
 public CommonController(
     SmartDbContext db,
     Lazy <IMediaService> mediaService,
     IThemeContext themeContext,
     IThemeRegistry themeRegistry,
     ThemeSettings themeSettings,
     LocalizationSettings localizationSettings)
 {
     _db                   = db;
     _mediaService         = mediaService;
     _themeContext         = themeContext;
     _themeRegistry        = themeRegistry;
     _themeSettings        = themeSettings;
     _localizationSettings = localizationSettings;
 }
        public ThemeContext(
            IWorkContext workContext,
			IStoreContext storeContext,
            IGenericAttributeService genericAttributeService,
            ThemeSettings themeSettings, 
            IThemeRegistry themeRegistry,
            IMobileDeviceHelper mobileDeviceHelper)
        {
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._genericAttributeService = genericAttributeService;
            this._themeSettings = themeSettings;
            this._themeRegistry = themeRegistry;
            this._mobileDeviceHelper = mobileDeviceHelper;
        }
 public ThemeVariablesService(
     IRepository <ThemeVariable> rsVariables,
     IThemeRegistry themeRegistry,
     IRequestCache requestCache,
     IEventPublisher eventPublisher,
     Lazy <IThemeFileResolver> themeFileResolver,
     HttpContextBase httpContext)
 {
     _rsVariables       = rsVariables;
     _themeRegistry     = themeRegistry;
     _requestCache      = requestCache;
     _eventPublisher    = eventPublisher;
     _themeFileResolver = themeFileResolver;
     _httpContext       = httpContext;
 }
Example #23
0
 public DefaultThemeVariableService(
     SmartDbContext db,
     IThemeRegistry themeRegistry,
     IRequestCache requestCache,
     IEventPublisher eventPublisher,
     IAssetFileProvider assetFileProvider,
     IHttpContextAccessor httpContextAccessor)
 {
     _db                  = db;
     _themeRegistry       = themeRegistry;
     _requestCache        = requestCache;
     _eventPublisher      = eventPublisher;
     _assetFileProvider   = assetFileProvider;
     _httpContextAccessor = httpContextAccessor;
 }
Example #24
0
 public ThemeContext(
     IWorkContext workContext,
     IStoreContext storeContext,
     IGenericAttributeService genericAttributeService,
     ThemeSettings themeSettings,
     IThemeRegistry themeRegistry,
     IMobileDeviceHelper mobileDeviceHelper)
 {
     this._workContext             = workContext;
     this._storeContext            = storeContext;
     this._genericAttributeService = genericAttributeService;
     this._themeSettings           = themeSettings;
     this._themeRegistry           = themeRegistry;
     this._mobileDeviceHelper      = mobileDeviceHelper;
 }
		public PackageInstaller(
			IVirtualPathProvider virtualPathProvider,
			IPluginFinder pluginFinder,
			IThemeRegistry themeRegistry,
			IFolderUpdater folderUpdater,
			INotifier notifier,
			Log.ILogger logger)
		{
			_virtualPathProvider = virtualPathProvider;
			_pluginFinder = pluginFinder;
			_themeRegistry = themeRegistry;
			_folderUpdater = folderUpdater;
			_notifier = notifier;
			_logger = logger;
		}
Example #26
0
 public ThemeContext(
     IWorkContext workContext,
     ISiteContext siteContext,
     IGenericAttributeService genericAttributeService,
     ThemeSettings themeSettings,
     IThemeRegistry themeRegistry,
     IMobileDeviceHelper mobileDeviceHelper,
     HttpContextBase httpContext)
 {
     this._workContext             = workContext;
     this._siteContext             = siteContext;
     this._genericAttributeService = genericAttributeService;
     this._themeSettings           = themeSettings;
     this._themeRegistry           = themeRegistry;
     this._mobileDeviceHelper      = mobileDeviceHelper;
     this._httpContext             = httpContext;
 }
 public FooterViewComponent(
     IThemeRegistry themeRegistry,
     IWidgetProvider widgetProvider,
     ThemeSettings themeSettings,
     CustomerSettings customerSettings,
     TaxSettings taxSettings,
     SocialSettings socialSettings,
     PrivacySettings privacySettings)
 {
     _themeRegistry    = themeRegistry;
     _widgetProvider   = widgetProvider;
     _themeSettings    = themeSettings;
     _customerSettings = customerSettings;
     _taxSettings      = taxSettings;
     _socialSettings   = socialSettings;
     _privacySettings  = privacySettings;
 }
        public ThemeController(
            ISettingService settingService, 
			IThemeRegistry themeRegistry,
            IThemeVariablesService themeVarService,
			IStoreService storeService,
			IPackageManager packageManager,
			ICommonServices services)
		{
            this._settingService = settingService;
            this._themeVarService = themeVarService;
            this._themeRegistry = themeRegistry;
			this._storeService = storeService;
			this._packageManager = packageManager;
			this._services = services;

			this.T = NullLocalizer.Instance;
		}
Example #29
0
 public BundleMiddleware(
     RequestDelegate next,
     IBundleCollection collection,
     IBundleCache bundleCache,
     IBundleBuilder bundleBuilder,
     IOptionsMonitor <BundlingOptions> optionsMonitor,
     IThemeRegistry themeRegistry,
     ILogger <BundleMiddleware> logger)
 {
     _next           = next;
     _collection     = collection;
     _bundleCache    = bundleCache;
     _bundleBuilder  = bundleBuilder;
     _optionsMonitor = optionsMonitor;
     _themeRegistry  = themeRegistry;
     _logger         = logger;
 }
Example #30
0
        public ThemeController(
            ISettingService settingService,
            IThemeRegistry themeRegistry,
            IThemeVariablesService themeVarService,
            IStoreService storeService,
            IPackageManager packageManager,
            ICommonServices services)
        {
            this._settingService  = settingService;
            this._themeVarService = themeVarService;
            this._themeRegistry   = themeRegistry;
            this._storeService    = storeService;
            this._packageManager  = packageManager;
            this._services        = services;

            this.T = NullLocalizer.Instance;
        }
Example #31
0
 public ThemeController(
     ISettingService settingService,
     IThemeRegistry themeRegistry,
     IThemeVariablesService themeVarService,
     IStoreService storeService,
     IPackageManager packageManager,
     ICommonServices services,
     IThemeContext themeContext,
     Lazy <IThemeFileResolver> themeFileResolver)
 {
     this._settingService    = settingService;
     this._themeVarService   = themeVarService;
     this._themeRegistry     = themeRegistry;
     this._storeService      = storeService;
     this._packageManager    = packageManager;
     this._services          = services;
     this._themeContext      = themeContext;
     this._themeFileResolver = themeFileResolver;
 }
Example #32
0
 public ThemeController(
     ISettingService settingService,
     IThemeRegistry themeRegistry,
     IThemeVariablesService themeVarService,
     IPackageManager packageManager,
     ICommonServices services,
     IThemeContext themeContext,
     IAssetCache assetCache,
     Lazy <IThemeFileResolver> themeFileResolver)
 {
     _settingService    = settingService;
     _themeVarService   = themeVarService;
     _themeRegistry     = themeRegistry;
     _packageManager    = packageManager;
     _services          = services;
     _themeContext      = themeContext;
     _assetCache        = assetCache;
     _themeFileResolver = themeFileResolver;
 }
Example #33
0
        public ThemeController(
            ISettingService settingService, 
			IThemeRegistry themeRegistry,
            IThemeVariablesService themeVarService,
			IStoreService storeService,
			IPackageManager packageManager,
			ICommonServices services,
			IThemeContext themeContext,
			Lazy<IThemeFileResolver> themeFileResolver)
        {
            this._settingService = settingService;
            this._themeVarService = themeVarService;
            this._themeRegistry = themeRegistry;
            this._storeService = storeService;
            this._packageManager = packageManager;
            this._services = services;
            this._themeContext = themeContext;
            this._themeFileResolver = themeFileResolver;
        }
Example #34
0
        public DefaultAssetCache(
            ThemeSettings themeSettings,
            IApplicationEnvironment env,
            IThemeFileResolver themeFileResolver,
            IThemeContext themeContext,
            IThemeRegistry themeRegistry,
            ICommonServices services)
        {
            _themeSettings = themeSettings;
            _isEnabled     = _themeSettings.AssetCachingEnabled == 2 || (_themeSettings.AssetCachingEnabled == 0 && !HttpContext.Current.IsDebuggingEnabled);

            _env               = env;
            _themeContext      = themeContext;
            _themeFileResolver = themeFileResolver;
            _themeRegistry     = themeRegistry;
            _services          = services;

            Logger = NullLogger.Instance;
        }
Example #35
0
        public ThemeController(
            ISettingService settingService,
            IThemeRegistry themeRegistry,
            IThemeVariablesService themeVarService,
            ISiteService siteService,
            ICommonServices services,
            IThemeContext themeContext,
            Lazy <IThemeFileResolver> themeFileResolver)
        {
            this._settingService  = settingService;
            this._themeVarService = themeVarService;
            this._themeRegistry   = themeRegistry;
            this._siteService     = siteService;

            this._services          = services;
            this._themeContext      = themeContext;
            this._themeFileResolver = themeFileResolver;

            this.T = NullLocalizer.Instance;
        }
Example #36
0
        public SettingController(
            ICountryService countryService,
			IStateProvinceService stateProvinceService,
            IAddressService addressService,
			ITaxCategoryService taxCategoryService,
			IPictureService pictureService, 
            IDateTimeHelper dateTimeHelper,
            IOrderService orderService,
			IEncryptionService encryptionService,
            IThemeRegistry themeRegistry,
			ICustomerService customerService, 
            ICustomerActivityService customerActivityService,
            IFulltextService fulltextService,
			IMaintenanceService maintenanceService,
			IGenericAttributeService genericAttributeService,
			ILocalizedEntityService localizedEntityService,
			ILanguageService languageService,
			IDeliveryTimeService deliveryTimesService,
			ICommonServices services)
        {
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._addressService = addressService;
            this._taxCategoryService = taxCategoryService;
            this._pictureService = pictureService;
            this._dateTimeHelper = dateTimeHelper;
            this._orderService = orderService;
            this._encryptionService = encryptionService;
            this._themeRegistry = themeRegistry;
            this._customerService = customerService;
            this._customerActivityService = customerActivityService;
            this._fulltextService = fulltextService;
            this._maintenanceService = maintenanceService;
            this._genericAttributeService = genericAttributeService;
            this._localizedEntityService = localizedEntityService;
            this._languageService = languageService;
            this._deliveryTimesService = deliveryTimesService;
            this._services = services;
        }
        public CommonController(ICategoryService categoryService, IProductService productService,
            IManufacturerService manufacturerService, ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService,
            IWorkContext workContext, IStoreContext storeContext,
            IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,
            ISitemapGenerator sitemapGenerator, IThemeContext themeContext,
            IThemeRegistry themeRegistry, IForumService forumService,
            IGenericAttributeService genericAttributeService, IWebHelper webHelper,
            IPermissionService permissionService, IMobileDeviceHelper mobileDeviceHelper,
            ICacheManager cacheManager,
            ICustomerActivityService customerActivityService, CustomerSettings customerSettings, 
            TaxSettings taxSettings, CatalogSettings catalogSettings,
            EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings, BlogSettings blogSettings, ForumSettings forumSettings,
            LocalizationSettings localizationSettings, CaptchaSettings captchaSettings,
            IOrderTotalCalculationService orderTotalCalculationService, IPriceFormatter priceFormatter,
            ThemeSettings themeSettings, ISettingService settingService)
        {
            this._categoryService = categoryService;
            this._productService = productService;
            this._manufacturerService = manufacturerService;
            this._topicService = topicService;
            this._languageService = languageService;
            this._currencyService = currencyService;
            this._workContext = workContext;
			this._storeContext = storeContext;
            this._queuedEmailService = queuedEmailService;
            this._emailAccountService = emailAccountService;
            this._sitemapGenerator = sitemapGenerator;
            this._themeContext = themeContext;
            this._themeRegistry = themeRegistry;
            this._forumservice = forumService;
            this._genericAttributeService = genericAttributeService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._mobileDeviceHelper = mobileDeviceHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;

            this._customerSettings = customerSettings;
            this._taxSettings = taxSettings;
            this._catalogSettings = catalogSettings;
            this._commonSettings = commonSettings;
            this._blogSettings = blogSettings;
            this._forumSettings = forumSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;

            this._orderTotalCalculationService = orderTotalCalculationService;
            this._priceFormatter = priceFormatter;

            this._themeSettings = themeSettings;
			this._settingService = settingService;
			T = NullLocalizer.Instance;
        }
 public ThemeReferenceRepository(IProjectSystem project, IPackageRepository sourceRepository, IThemeRegistry themeRegistry)
     : base(project, sourceRepository)
 {
     _themeManifests = themeRegistry.GetThemeManifests(true);
 }
 public StoreThemeSelectorViewComponent(IThemeRegistry themeRegistry, ThemeSettings themeSettings, IThemeContext themeContext)
 {
     _themeRegistry = themeRegistry;
     _themeSettings = themeSettings;
     _themeContext  = themeContext;
 }
		public ThemeReferenceRepository(IProjectSystem project, IPackageRepository sourceRepository, IThemeRegistry themeRegistry)
			: base(project, sourceRepository)
		{
			_themeRegistry = themeRegistry;
			_themeManifests = _themeRegistry.GetThemeManifests();
		}
Example #41
0
 public ThemeController(IThemeRegistry themeRegistry, IThemeVariablesService themeVarService)
 {
     //this._permissionService = permissionService;
     this._themeRegistry   = themeRegistry;
     this._themeVarService = themeVarService;
 }
        public ThemeController(IThemeRegistry themeRegistry, IThemeVariablesService themeVarService)
		{
            //this._permissionService = permissionService;
            this._themeRegistry = themeRegistry;
            this._themeVarService = themeVarService;
		}