예제 #1
0
 public ProductManager(
     IProductRepository productRepository,
     IProductPriceProvider productPriceProvider,
     IProductCategoryRepository productCategoryRepository,
     IProductInventoryProvider productInventoryProvider,
     IProductGroupConfigurationProvider productGroupConfigurationProvider)
 {
     _productRepository                 = productRepository;
     _productPriceProvider              = productPriceProvider;
     _productCategoryRepository         = productCategoryRepository;
     _productInventoryProvider          = productInventoryProvider;
     _productGroupConfigurationProvider = productGroupConfigurationProvider;
 }
예제 #2
0
 public ProductManager(
     IProductRepository productRepository,
     IProductStoreRepository productStoreRepository,
     IProductCategoryRepository productCategoryRepository,
     IProductInventoryProvider productInventoryProvider,
     IAttributeOptionIdsSerializer attributeOptionIdsSerializer)
 {
     _productRepository            = productRepository;
     _productStoreRepository       = productStoreRepository;
     _productCategoryRepository    = productCategoryRepository;
     _productInventoryProvider     = productInventoryProvider;
     _attributeOptionIdsSerializer = attributeOptionIdsSerializer;
 }
예제 #3
0
 public ProductAppService(
     IProductManager productManager,
     IOptions <EShopProductsOptions> options,
     IProductInventoryProvider productInventoryProvider,
     IAttributeOptionIdsSerializer attributeOptionIdsSerializer,
     IProductStoreRepository productStoreRepository,
     IProductRepository repository) : base(repository)
 {
     _productManager               = productManager;
     _options                      = options.Value;
     _productInventoryProvider     = productInventoryProvider;
     _attributeOptionIdsSerializer = attributeOptionIdsSerializer;
     _productStoreRepository       = productStoreRepository;
     _repository                   = repository;
 }
예제 #4
0
 public ProductAppService(
     IProductManager productManager,
     IProductInventoryProvider productInventoryProvider,
     IAttributeOptionIdsSerializer attributeOptionIdsSerializer,
     IProductStoreRepository productStoreRepository,
     IProductTypeRepository productTypeRepository,
     IProductRepository repository) : base(repository)
 {
     _productManager               = productManager;
     _productInventoryProvider     = productInventoryProvider;
     _attributeOptionIdsSerializer = attributeOptionIdsSerializer;
     _productStoreRepository       = productStoreRepository;
     _productTypeRepository        = productTypeRepository;
     _repository = repository;
 }
예제 #5
0
 public ProductAppService(
     IProductManager productManager,
     IOptions <EShopProductsOptions> options,
     IDistributedCache <ProductViewCacheItem> cache,
     IProductInventoryProvider productInventoryProvider,
     IProductViewCacheKeyProvider productViewCacheKeyProvider,
     IAttributeOptionIdsSerializer attributeOptionIdsSerializer,
     IProductRepository repository) : base(repository)
 {
     _productManager               = productManager;
     _cache                        = cache;
     _options                      = options.Value;
     _productInventoryProvider     = productInventoryProvider;
     _productViewCacheKeyProvider  = productViewCacheKeyProvider;
     _attributeOptionIdsSerializer = attributeOptionIdsSerializer;
     _repository                   = repository;
 }