//private readonly IPremiumService _premiumService;


        public StoreService(IProductStoreRepository psRepo,
                            IProductStoreLocalStorageCache psCache,
                            IProductTypeLocalStorageCache ptCache,

                            ITransacationCcRepository tranCcRepo,
                            IJournalBuyRepository journalBuyRepository,
                            IUserChestLocalStorageCache userChestCache,
                            IUserChestRepository userChestRepo,
                            IJournalBuyLocalStorageCache journalBuyCache,
                            IUserBalanceCcLocalStorageCache userBalanceCache,
                            IUserBalanceCcRepository userBalanceRepo,
                            IPremiumLocalStorageCache premiumCache,
                            IPremiumRepository premiumRepo,
                            IProductTypeRepository ptRepo, ICurrencyLocalStorageCache currencyCache, ICurrencyRepository currencyrepo)
        {
            _psRepo               = psRepo;
            _psCache              = psCache;
            _ptCache              = ptCache;
            _tranCcRepo           = tranCcRepo;
            _journalBuyRepository = journalBuyRepository;

            _userChestCache   = userChestCache;
            _userChestRepo    = userChestRepo;
            _journalBuyCache  = journalBuyCache;
            _userBalanceCache = userBalanceCache;
            _userBalanceRepo  = userBalanceRepo;
            _premiumCache     = premiumCache;
            _premiumRepo      = premiumRepo;
            _ptRepo           = ptRepo;
            _currencyCache    = currencyCache;
            _currencyRepo     = currencyrepo;
        }
Exemplo n.º 2
0
 public ProductDetailAppService(
     IProductRepository productRepository,
     IProductStoreRepository productStoreRepository,
     IProductDetailRepository repository) : base(repository)
 {
     _productRepository      = productRepository;
     _productStoreRepository = productStoreRepository;
     _repository             = repository;
 }
 public ProductInventoryAppService(
     IProductInventoryRepository repository,
     IProductStoreRepository productStoreRepository,
     DefaultProductInventoryProvider productInventoryProvider)
 {
     _repository               = repository;
     _productStoreRepository   = productStoreRepository;
     _productInventoryProvider = productInventoryProvider;
 }
Exemplo n.º 4
0
 public ProductManager(
     IProductRepository productRepository,
     IProductStoreRepository productStoreRepository,
     IProductCategoryRepository productCategoryRepository,
     IAttributeOptionIdsSerializer attributeOptionIdsSerializer)
 {
     _productRepository            = productRepository;
     _productStoreRepository       = productStoreRepository;
     _productCategoryRepository    = productCategoryRepository;
     _attributeOptionIdsSerializer = attributeOptionIdsSerializer;
 }
Exemplo n.º 5
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;
 }
Exemplo n.º 6
0
 public ProductManager(
     IProductRepository productRepository,
     IProductStoreRepository productStoreRepository,
     IProductPriceProvider productPriceProvider,
     IProductCategoryRepository productCategoryRepository,
     IProductInventoryProvider productInventoryProvider,
     IProductGroupConfigurationProvider productGroupConfigurationProvider)
 {
     _productRepository                 = productRepository;
     _productStoreRepository            = productStoreRepository;
     _productPriceProvider              = productPriceProvider;
     _productCategoryRepository         = productCategoryRepository;
     _productInventoryProvider          = productInventoryProvider;
     _productGroupConfigurationProvider = productGroupConfigurationProvider;
 }
Exemplo n.º 7
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;
 }
Exemplo n.º 8
0
 public ProductStoreService(IProductStoreRepository productStoreRepository)
     : base(productStoreRepository)
 {
     _productStoreRepository = productStoreRepository;
 }
Exemplo n.º 9
0
 public ProductStoreLocalStorageCache(IProductStoreRepository repository) : base(repository)
 {
 }
Exemplo n.º 10
0
 public ProductStoreService(IProductStoreRepository iProductStoreRepository)
 {
     this._iProductStoreRepository = iProductStoreRepository;
 }