Beispiel #1
0
 public ProductService(IProductRepository productRepository
                       , IAttributeTypeService attributeTypeService, IAttributeValueService attributeValueService)
 {
     this.productRepository     = productRepository;
     this.attributeValueService = attributeValueService;
     this.attributeTypeService  = attributeTypeService;
 }
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImagePlugin imagePlugin
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager
            , IManufacturerService manufacturerService)
            : base(cacheManager)
        {
            _postService              = postService;
            _menuLinkService          = menuLinkService;
            _attributeValueService    = attributeValueService;
            _galleryService           = galleryService;
            _imagePlugin              = imagePlugin;
            _attributeService         = attributeService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _postGalleryService       = postGalleryService;
            _cacheManager             = cacheManager;
            _manufacturerService      = manufacturerService;

            //Clear cache
            _cacheManager.RemoveByPattern(CachePostKey);
        }
Beispiel #3
0
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImagePlugin imagePlugin
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager)
            : base(cacheManager)
        {
            this._postService              = postService;
            this._menuLinkService          = menuLinkService;
            this._attributeValueService    = attributeValueService;
            this._galleryService           = galleryService;
            this._imagePlugin              = imagePlugin;
            this._attributeService         = attributeService;
            this._languageService          = languageService;
            this._localizedPropertyService = localizedPropertyService;
            this._postGalleryService       = postGalleryService;
            _genericControlService         = genericControlService;
            _cacheManager = cacheManager;

            //Clear cache
            _cacheManager.Clear();
        }
 public PromoController(
     IPromoUtilities promoUtilities,
     IPriceFormatter priceFormatter,
     IWorkContext workContext,
     PromoSettings promoSettings,
     IProductMappingService productMappingService,
     IProductPromoMappingService productPromoMappingService,
     IPromoDetailService promoDetailService,
     IStoreService storeService,
     IStoreContext storeContext,
     IAttributeValueService attributeValueService,
     ICurrencyService currencyService,
     IPromoPictureService promoPictureService,
     IPictureService pictureService,
     IProductService productService,
     ILocalizationService localizationService)
 {
     this._promoUtilities = promoUtilities;
     this._priceFormatter = priceFormatter;
     this._workContext = workContext;
     this._productMappingService = productMappingService;
     this._productPromoMappingService = productPromoMappingService;
     this._promoDetailService = promoDetailService;
     this._promoSettings = promoSettings;
     this._storeService = storeService;
     this._storeContext = storeContext;
     this._attributeValueService = attributeValueService;
     this._currencyService = currencyService;
     this._promoPictureService = promoPictureService;
     this._pictureService = pictureService;
     this._productService = productService;
     this._localizationService = localizationService;
 }
        public CheckoutAttributeFormatter(IWorkContext workContext,
            ICheckoutAttributeService checkoutAttributeService,
            ICheckoutAttributeParser checkoutAttributeParser,
            ICurrencyService currencyService,
            ITaxService taxService,
            IPriceFormatter priceFormatter,
            IDownloadService downloadService,
            IWebHelper webHelper,
            PromoSettings promoSettings,
            IPromoUtilities qixolPromoUtilities,
            IAttributeValueService attributeValueService)
            : base(workContext, checkoutAttributeService, checkoutAttributeParser,
                    currencyService, taxService, priceFormatter,
                    downloadService, webHelper)
        {
            this._workContext = workContext;
            this._checkoutAttributeService = checkoutAttributeService;
            this._checkoutAttributeParser = checkoutAttributeParser;
            this._currencyService = currencyService;
            this._taxService = taxService;
            this._priceFormatter = priceFormatter;
            this._downloadService = downloadService;
            this._webHelper = webHelper;

            this._promoSettings = promoSettings;
            this._qixolPromoUtilities = qixolPromoUtilities;
            this._attributeValueService = attributeValueService;
        }
Beispiel #6
0
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImageService imageService
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager
            , IManufacturerService manufacturerService
            , IOrderItemService orderItemService
            , ISettingService settingService)
            : base(cacheManager)
        {
            _postService              = postService;
            _menuLinkService          = menuLinkService;
            _attributeValueService    = attributeValueService;
            _galleryService           = galleryService;
            _imageService             = imageService;
            _attributeService         = attributeService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _postGalleryService       = postGalleryService;
            _manufacturerService      = manufacturerService;
            _orderItemService         = orderItemService;
            _settingService           = settingService;

            //Clear cache
            cacheManager.RemoveByPattern(CachePostKey);
        }
Beispiel #7
0
 public AttributesController(
     IAttributeService attributeService,
     IAttributeValueService attributeValueService
     )
 {
     _attributeService      = attributeService;
     _attributeValueService = attributeValueService;
 }
        public AttributeValueController(IAttributeValueService attributeValueService, IAttributeService attributeService, ICacheManager cacheManager)
        {
            _attributeValueService = attributeValueService;
            _attributeService      = attributeService;

            //Clear cache
            cacheManager.RemoveByPattern(Cache);
        }
Beispiel #9
0
 public RepairController(IRepairService repairService, IMenuLinkService menuLinkService,
                         IAttributeValueService attributeValueService, IRepairGalleryService galleryService
                         , IImagePlugin imagePlugin, IBrandService brandService, IRepairItemService repairItemService
                         , ICacheManager cacheManager)
     : base(cacheManager)
 {
     _repairService     = repairService;
     _galleryService    = galleryService;
     _imagePlugin       = imagePlugin;
     _brandService      = brandService;
     _repairItemService = repairItemService;
 }
 public PromoSyncTask(PromoSettings promoSettings,
                     IPromoDetailService promoDetailService,
                     IProductPromoMappingService productPromoMappingService,
                     IProductService productService,
                     IProductMappingService productMappingService,
                     IAttributeValueService attributeValueService,
                     IPromoUtilities promoUtilities,
                     IStoreService storeService)
 {
     this._promoSettings = promoSettings;
     this._promoDetailService = promoDetailService;
     this._productPromoMappingService = productPromoMappingService;
     this._productService = productService;
     this._productMappingService = productMappingService;
     this._attributeValueService = attributeValueService;
     this._promoUtilities = promoUtilities;
     this._storeService = storeService;
 }
Beispiel #11
0
 public PostController(
     IPostService postService
     , IMenuLinkService menuLinkService
     , IAttributeValueService attributeValueService
     , IGalleryService galleryService
     , IImagePlugin imagePlugin
     , IAttributeService attributeService
     , ILanguageService languageService
     , ILocalizedPropertyService localizedPropertyService)
 {
     this._postService              = postService;
     this._menuLinkService          = menuLinkService;
     this._attributeValueService    = attributeValueService;
     this._galleryService           = galleryService;
     this._imagePlugin              = imagePlugin;
     this._attributeService         = attributeService;
     this._languageService          = languageService;
     this._localizedPropertyService = localizedPropertyService;
 }
 public DataFeedTask(
     IPluginFinder pluginFinder,
     IStoreService storeService,
     PromoSettings promoSettings,
     IExportQueueService exportQueueService,
     IPromoService qixolPromoService,
     IPromoUtilities qixolPromoUtilities,
     IAttributeValueService attributeValueService,
     IShippingService shippingService,
     ICustomerService customerService,
     IProductAttributeConfigService productAttributeConfigService,
     IProductMappingService productMappingService,
     IProductService productService,
     IProductAttributeParser productAttributeParser,
     IVendorService vendorService,
     ITaxCategoryService taxCategoryService,
     ICheckoutAttributeService checkoutAttributeService,
     ICurrencyService currencyService)
 {
     this._pluginFinder = pluginFinder;
     this._storeService = storeService;
     this._promoSettings = promoSettings;
     this._exportQueueService = exportQueueService;
     this._qixolPromoService = qixolPromoService;
     this._qixolPromoUtilities = qixolPromoUtilities;
     this._attributeValueService = attributeValueService;
     this._shippingService = shippingService;
     this._customerService = customerService;
     this._productAttributeConfigService = productAttributeConfigService;
     this._productMappingService = productMappingService;
     this._productService = productService;
     this._productAttributeParser = productAttributeParser;
     this._vendorService = vendorService;
     this._taxCategoryService = taxCategoryService;
     this._checkoutAttributeService = checkoutAttributeService;
     this._currencyService = currencyService;
 }
Beispiel #13
0
 public OrderController(IOrderService orderService, IMenuLinkService menuLinkService, IAttributeValueService attributeValueService, IOrderGalleryService galleryService, IImagePlugin imagePlugin, IBrandService brandService, IOrderItemService orderItemService)
 {
     this._orderService     = orderService;
     this._menuLinkService  = menuLinkService;
     this._galleryService   = galleryService;
     this._imagePlugin      = imagePlugin;
     this._brandService     = brandService;
     this._orderItemService = orderItemService;
 }
 public OrderTotalCalculationService(IWorkContext workContext,
     IStoreContext storeContext,
     IPromosPriceCalculationService promosPriceCalculationService,
     IPriceCalculationService priceCalculationService,
     ITaxService taxService,
     IShippingService shippingService,
     IPaymentService paymentService,
     ICheckoutAttributeParser checkoutAttributeParser,
     IDiscountService discountService,
     IGiftCardService giftCardService,
     IGenericAttributeService genericAttributeService,
     TaxSettings taxSettings,
     RewardPointsSettings rewardPointsSettings,
     ShippingSettings shippingSettings,
     ShoppingCartSettings shoppingCartSettings,
     CatalogSettings catalogSettings,
     IPromoUtilities promoUtilities,
     PromoSettings promoSettings,
     IPromoService promoService,
     IAttributeValueService attributeValueService,
     ITaxServiceExtensions taxServiceExtensions,
     ICurrencyService currencyService)
     : base(workContext,
         storeContext,
         priceCalculationService,
         taxService,
         shippingService,
         paymentService,
         checkoutAttributeParser,
         discountService,
         giftCardService,
         genericAttributeService,
         taxSettings,
         rewardPointsSettings,
         shippingSettings,
         shoppingCartSettings,
         catalogSettings)
 {
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._promosPriceCalculationService = promosPriceCalculationService;
     this._taxService = taxService;
     this._shippingService = shippingService;
     this._paymentService = paymentService;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._discountService = discountService;
     this._giftCardService = giftCardService;
     this._genericAttributeService = genericAttributeService;
     this._taxSettings = taxSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._shippingSettings = shippingSettings;
     this._shoppingCartSettings = shoppingCartSettings;
     this._catalogSettings = catalogSettings;
     this._promoUtilities = promoUtilities;
     this._promoSettings = promoSettings;
     this._promoService = promoService;
     this._priceCalculationService = priceCalculationService;
     this._attributeValueService = attributeValueService;
     this._taxServiceExtensions = taxServiceExtensions;
     this._currencyService = currencyService;
 }
Beispiel #15
0
 public AttributeValueController(IAttributeValueService attributeValueService, IAttributeService attributeService)
 {
     this._attributeValueService = attributeValueService;
     this._attributeService      = attributeService;
 }
 public PromoAdminController(
     IProductService productService, ICurrencyService currencyService,
     ILocalizationService localizationService, IPluginFinder pluginFinder,
     ILogger logger, IWebHelper webHelper, IStoreService storeService,
     PromoSettings promoSettings, ISettingService settingService,
     IPermissionService permissionService, ICategoryService categoryService,
     IPromoService promoService,
     IScheduleTaskService scheduleTaskService,
     IExportQueueService exportQueueService,
     IProductAttributeConfigService productAttributeConfigService,
     IAttributeValueService attributeValueService,
     IShippingService shippingService,
     ICustomerService customerService,
     ICheckoutAttributeService checkoutAttributeService,
     IPromoPictureService promoPictureService,
     IPictureService pictureService)
 {
     this._productService = productService;
     this._currencyService = currencyService;
     this._localizationService = localizationService;
     this._pluginFinder = pluginFinder;
     this._logger = logger;
     this._webHelper = webHelper;
     this._storeService = storeService;
     this._promoSettings = promoSettings;
     this._settingService = settingService;
     this._permissionService = permissionService;
     this._categoryService = categoryService;
     this._promoService = promoService;
     this._scheduleTaskService = scheduleTaskService;
     this._exportQueueService = exportQueueService;
     this._productAttributeConfigService = productAttributeConfigService;
     this._attributeValueService = attributeValueService;
     this._shippingService = shippingService;
     this._customerService = customerService;
     this._checkoutAttributeService = checkoutAttributeService;
     this._promoPictureService = promoPictureService;
     this._pictureService = pictureService;
 }
 public promoService(
     IProductService productService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IPictureService pictureService,
     ICurrencyService currencyService,
     ISettingService settingService,
     IWorkContext workContext,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     CurrencySettings currencySettings,
     IProductAttributeService productAttributeService,
     IPriceCalculationService priceCalculationService,
     ITaxService taxService,
     ILogger logger,
     IStoreService storeService,
     IPromoUtilities promoUtilities,
     PromoSettings promoSettings,
     IShippingService shippingService,
     IGenericAttributeService genericAttributeService,
     IStoreContext storeContext,
     IProductMappingService productMappingService,
     IShoppingCartService shoppingCartService,
     ICouponService qixolPromosCouponService,
     IAttributeValueService attributeValueService,
     IOrderService orderService,
     ICustomerService customerService,
     ILocalizationService localizationService)
 {
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._pictureService = pictureService;
     this._currencyService = currencyService;
     this._settingService = settingService;
     this._workContext = workContext;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._currencySettings = currencySettings;
     this._productAttributeService = productAttributeService;
     this._priceCalculationService = priceCalculationService;
     this._taxService = taxService;
     this._logger = logger;
     this._promoUtilities = promoUtilities;
     this._storeService = storeService;
     this._shippingService = shippingService;
     this._genericAttributeService = genericAttributeService;
     this._storeContext = storeContext;
     this._productMappingService = productMappingService;
     this._shoppingCartService = shoppingCartService;
     this._couponService = qixolPromosCouponService;
     this._attributeValueService = attributeValueService;
     this._orderService = orderService;
     this._promoSettings = promoSettings;
     this._customerService = customerService;
     this._localizationService = localizationService;
 }