public ProductCreator(IShopApiFactory apiFactory,
                       ICombinationsProcessor combinationsProcessor,
                       ICategoryProcessor categoryProcessor,
                       IFeatureProcessor featureProcessor,
                       IManufacturerProcessor manufacturerProcessor,
                       IImageProcessor imageProcessor,
                       ISupplierProcessor supplierProcessor,
                       IStockProcessor stockProcessor)
 {
     _apiFactory            = apiFactory;
     _combinationsProcessor = combinationsProcessor;
     _categoryProcessor     = categoryProcessor;
     _featureProcessor      = featureProcessor;
     _manufacturerProcessor = manufacturerProcessor;
     _imageProcessor        = imageProcessor;
     _supplierProcessor     = supplierProcessor;
     _stockProcessor        = stockProcessor;
 }
示例#2
0
 public StockProcessor(IShopApiFactory apiFactory, ICombinationsProcessor combinationsProcessor)
 {
     _apiFactory           = apiFactory;
     _combinationProcessor = combinationsProcessor;
 }