Esempio n. 1
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="productLayoutRepository">Product layout repository</param>
 /// <param name="cacheBase">Cache base</param>
 /// <param name="mediator">Mediator</param>
 public ProductLayoutService(IRepository <ProductLayout> productLayoutRepository,
                             ICacheBase cacheBase,
                             IMediator mediator)
 {
     _productLayoutRepository = productLayoutRepository;
     _cacheBase = cacheBase;
     _mediator  = mediator;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="addressAttributeRepository">Address attribute repository</param>
 /// <param name="mediator">Mediator</param>
 public AddressAttributeService(ICacheBase cacheManager,
                                IRepository <AddressAttribute> addressAttributeRepository,
                                IMediator mediator)
 {
     _cacheBase = cacheManager;
     _addressAttributeRepository = addressAttributeRepository;
     _mediator = mediator;
 }
Esempio n. 3
0
 public GetCollectionNavigationHandler(ICacheBase cacheBase,
                                       ICollectionService collectionService,
                                       CatalogSettings catalogSettings)
 {
     _cacheBase         = cacheBase;
     _collectionService = collectionService;
     _catalogSettings   = catalogSettings;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="urlRecordRepository">URL record repository</param>
 /// <param name="localizationSettings">Localization settings</param>
 public UrlRecordService(ICacheBase cacheManager,
                         IRepository <UrlRecord> urlRecordRepository,
                         GrandConfig config)
 {
     _cacheBase           = cacheManager;
     _urlRecordRepository = urlRecordRepository;
     _config = config;
 }
Esempio n. 5
0
 public GetBlogPostTagListHandler(IBlogService blogService, ICacheBase cacheManager, IWorkContext workContext, IStoreContext storeContext, BlogSettings blogSettings)
 {
     _blogService  = blogService;
     _cacheBase    = cacheManager;
     _workContext  = workContext;
     _storeContext = storeContext;
     _blogSettings = blogSettings;
 }
Esempio n. 6
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="mediator">Mediator</param>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="taxRateRepository">Tax rate repository</param>
 public TaxRateService(IMediator mediator,
                       ICacheBase cacheManager,
                       IRepository <TaxRate> taxRateRepository)
 {
     _mediator          = mediator;
     _cacheBase         = cacheManager;
     _taxRateRepository = taxRateRepository;
 }
Esempio n. 7
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="collectionLayoutRepository">Collection layout repository</param>
 /// <param name="cacheBase">Cache base</param>
 /// <param name="mediator">Mediator</param>
 public CollectionLayoutService(IRepository <CollectionLayout> collectionLayoutRepository,
                                ICacheBase cacheBase,
                                IMediator mediator)
 {
     _collectionLayoutRepository = collectionLayoutRepository;
     _cacheBase = cacheBase;
     _mediator  = mediator;
 }
Esempio n. 8
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="customerAttributeRepository">Customer attribute repository</param>
 /// <param name="mediator">Mediator</param>
 public CustomerAttributeService(ICacheBase cacheManager,
                                 IRepository <CustomerAttribute> customerAttributeRepository,
                                 IMediator mediator)
 {
     _cacheBase = cacheManager;
     _customerAttributeRepository = customerAttributeRepository;
     _mediator = mediator;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="taxCategoryRepository">Tax category repository</param>
 /// <param name="mediator">Mediator</param>
 public TaxCategoryService(ICacheBase cacheManager,
                           IRepository <TaxCategory> taxCategoryRepository,
                           IMediator mediator)
 {
     _cacheBase             = cacheManager;
     _taxCategoryRepository = taxCategoryRepository;
     _mediator = mediator;
 }
Esempio n. 10
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheBase">Cache manager</param>
 /// <param name="urlEntityRepository">URL Entity repository</param>
 /// <param name="languageSettings">Localization settings</param>
 public SlugService(ICacheBase cacheBase,
                    IRepository <EntityUrl> urlEntityRepository,
                    AppConfig config)
 {
     _cacheBase           = cacheBase;
     _urlEntityRepository = urlEntityRepository;
     _config = config;
 }
 public GetRecommendedProductsQueryHandler(
     IProductService productService,
     ICacheBase cacheBase,
     IRepository <CustomerGroupProduct> customerGroupProductRepository)
 {
     _productService = productService;
     _cacheBase      = cacheBase;
     _customerGroupProductRepository = customerGroupProductRepository;
 }
Esempio n. 12
0
 public OrderStatusService(
     IRepository <OrderStatus> orderStatusRepository,
     ICacheBase cacheBase,
     IMediator mediator)
 {
     _orderStatusRepository = orderStatusRepository;
     _cacheBase             = cacheBase;
     _mediator = mediator;
 }
Esempio n. 13
0
 public SalesEmployeeService(
     IRepository <SalesEmployee> salesEmployeeRepository,
     IMediator mediator,
     ICacheBase cacheBase)
 {
     _salesEmployeeRepository = salesEmployeeRepository;
     _mediator  = mediator;
     _cacheBase = cacheBase;
 }
Esempio n. 14
0
 /// <summary>
 /// Ctor
 /// </summary>
 public ShippingMethodService(
     IRepository <ShippingMethod> shippingMethodRepository,
     IMediator mediator,
     ICacheBase cacheBase)
 {
     _shippingMethodRepository = shippingMethodRepository;
     _mediator  = mediator;
     _cacheBase = cacheBase;
 }
 public CollectionDeletedEventHandler(
     IRepository <EntityUrl> entityUrlRepository,
     IRepository <Product> productRepository,
     ICacheBase cacheBase)
 {
     _entityUrlRepository = entityUrlRepository;
     _productRepository   = productRepository;
     _cacheBase           = cacheBase;
 }
Esempio n. 16
0
 /// <summary>
 /// Ctor
 /// </summary>
 public WarehouseService(
     IRepository <Warehouse> warehouseRepository,
     IMediator mediator,
     ICacheBase cacheManager)
 {
     _warehouseRepository = warehouseRepository;
     _mediator            = mediator;
     _cacheBase           = cacheManager;
 }
 public GetPersonalizedProductsQueryHandler(
     IProductService productService,
     ICacheBase cacheManager,
     IRepository <CustomerProduct> customerProductRepository)
 {
     _productService            = productService;
     _cacheBase                 = cacheManager;
     _customerProductRepository = customerProductRepository;
 }
Esempio n. 18
0
 public SliderService(IRepository <PictureSlider> reporistoryPictureSlider,
                      IWorkContext workContext, IAclService aclService,
                      ICacheBase cacheManager)
 {
     _reporistoryPictureSlider = reporistoryPictureSlider;
     _workContext = workContext;
     _aclService  = aclService;
     _cacheBase   = cacheManager;
 }
Esempio n. 19
0
 public SliderService(IRepository <PictureSlider> reporistoryPictureSlider,
                      IStoreContext storeContext, IStoreMappingService storeMappingService,
                      ICacheBase cacheManager)
 {
     _reporistoryPictureSlider = reporistoryPictureSlider;
     _storeContext             = storeContext;
     _storeMappingService      = storeMappingService;
     _cacheBase = cacheManager;
 }
 public GetPopularProductTagsHandler(
     ICacheBase cacheBase,
     IProductTagService productTagService,
     CatalogSettings catalogSettings)
 {
     _cacheBase         = cacheBase;
     _productTagService = productTagService;
     _catalogSettings   = catalogSettings;
 }
 public GetProductReviewOverviewHandler(
     ICacheBase cacheManager,
     IProductReviewService productReviewService,
     CatalogSettings catalogSettings)
 {
     _cacheBase            = cacheManager;
     _productReviewService = productReviewService;
     _catalogSettings      = catalogSettings;
 }
Esempio n. 22
0
 /// <summary>
 /// Ctor
 /// </summary>
 public DeliveryDateService(
     IRepository <DeliveryDate> deliveryDateRepository,
     IMediator mediator,
     ICacheBase cacheBase)
 {
     _deliveryDateRepository = deliveryDateRepository;
     _mediator  = mediator;
     _cacheBase = cacheBase;
 }
 public GetSuggestedProductsQueryHandler(
     IProductService productService,
     ICacheBase cacheBase,
     IRepository <CustomerTagProduct> customerTagProductRepository)
 {
     _productService = productService;
     _cacheBase      = cacheBase;
     _customerTagProductRepository = customerTagProductRepository;
 }
Esempio n. 24
0
 /// <summary>
 /// Ctor
 /// </summary>
 public PickupPointService(
     IRepository <PickupPoint> pickupPointsRepository,
     IMediator mediator,
     ICacheBase cacheBase)
 {
     _pickupPointsRepository = pickupPointsRepository;
     _mediator  = mediator;
     _cacheBase = cacheBase;
 }
Esempio n. 25
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="emailAccountRepository">Email account repository</param>
 /// <param name="cacheBase">Cache manager</param>
 /// <param name="mediator">Mediator</param>
 public EmailAccountService(
     IRepository <EmailAccount> emailAccountRepository,
     ICacheBase cacheBase,
     IMediator mediator)
 {
     _emailAccountRepository = emailAccountRepository;
     _cacheBase = cacheBase;
     _mediator  = mediator;
 }
Esempio n. 26
0
 /// <summary>
 /// Ctor
 /// </summary>
 public SpecificationAttributeService(ICacheBase cacheBase,
                                      IRepository <SpecificationAttribute> specificationAttributeRepository,
                                      IRepository <Product> productRepository,
                                      IMediator mediator)
 {
     _cacheBase = cacheBase;
     _specificationAttributeRepository = specificationAttributeRepository;
     _mediator          = mediator;
     _productRepository = productRepository;
 }
Esempio n. 27
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheBase">Cache manager</param>
 /// <param name="countryRepository">Country repository</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="mediator">Mediator</param>
 public CountryService(ICacheBase cacheBase,
                       IRepository <Country> countryRepository,
                       CatalogSettings catalogSettings,
                       IMediator mediator)
 {
     _cacheBase         = cacheBase;
     _countryRepository = countryRepository;
     _catalogSettings   = catalogSettings;
     _mediator          = mediator;
 }
Esempio n. 28
0
 /// <summary>
 /// Ctor
 /// </summary>
 public BrandService(ICacheBase cacheBase,
                     IRepository <Brand> brandRepository,
                     IWorkContext workContext,
                     IMediator mediator)
 {
     _cacheBase       = cacheBase;
     _brandRepository = brandRepository;
     _workContext     = workContext;
     _mediator        = mediator;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheBase">Cache manager</param>
 /// <param name="productAttributeRepository">Product attribute repository</param>
 /// <param name="productAttributeCombinationRepository">Product attribute combination repository</param>
 /// <param name="mediator">Mediator</param>
 public ProductAttributeService(ICacheBase cacheBase,
                                IRepository <ProductAttribute> productAttributeRepository,
                                IRepository <Product> productRepository,
                                IMediator mediator)
 {
     _cacheBase = cacheBase;
     _productAttributeRepository = productAttributeRepository;
     _productRepository          = productRepository;
     _mediator = mediator;
 }
Esempio n. 30
0
 public AuctionService(IRepository <Bid> bidRepository,
                       IRepository <Product> productRepository,
                       ICacheBase cacheBase,
                       IMediator mediator)
 {
     _bidRepository     = bidRepository;
     _productRepository = productRepository;
     _cacheBase         = cacheBase;
     _mediator          = mediator;
 }