コード例 #1
0
 public ProductCreator(ShopApiFactory apiFactory)
 {
     _apiFactory = apiFactory;
     _categoryProcessor = new CategoryProcessor(apiFactory);
     _combinationsProcessor = new CombinationsProcessor(apiFactory);
     _featureProcessor = new FeatureProcessor(apiFactory);
     _manufacturerProcessor = new ManufacturerProcessor(apiFactory);
     _supplierProcessor = new SupplierProcessor(apiFactory);
     _imageProcessor = new ImageProcessor(apiFactory);
     _stockProcessor = new StockProcessor(apiFactory);
 }
コード例 #2
0
 public ProductUpdater(ShopApiFactory apiFactory)
 {
     _apiFactory = apiFactory;
     _stockProcessor = new StockProcessor(apiFactory);
 }
コード例 #3
0
 public PriceWebServiceProcessor(string apiUrl, string accessToken)
 {
     _apiFactory = new ShopApiFactory();
     _apiUrl = apiUrl;
     _accessToken = accessToken;
 }
コード例 #4
0
 public ProductRemover(ShopApiFactory apiFactory)
 {
     _apiFactory = apiFactory;
 }