public YandexMarketParserController( IYandexMarketCategoryService yandexMarketCategoryService, IYandexMarketProductService yandexMarketProductService) { _yandexMarketCategoryService = yandexMarketCategoryService; _yandexMarketProductService = yandexMarketProductService; }
public void Init(string urlCategoryForParsing, ILogger logger, IYandexMarketCategoryService yandexMarketCategoryService) { this.mLogger = logger; this.UrlCategoryForParsing = urlCategoryForParsing; this._yandexMarketCategoryService = yandexMarketCategoryService; }
public YandexMarketSpecImportController( IYandexMarketSpecService yandexMarketSpecService, IYandexMarketCategoryService yandexMarketCategoryService, ISpecificationAttributeService2 specificationAttributeService, ILogger logger) { _yandexMarketSpecService = yandexMarketSpecService; _yandexMarketCategoryService = yandexMarketCategoryService; _specificationAttributeService = specificationAttributeService; _logger = logger; }
public YandexMarketParserController( IYandexMarketCategoryService yandexMarketCategoryService, IYandexMarketProductService yandexMarketProductService, ICategoryService shopCategoryService, ILogger logger) { _yandexMarketCategoryService = yandexMarketCategoryService; _yandexMarketProductService = yandexMarketProductService; _shopCategoryService = shopCategoryService; _logger = logger; }
public YandexMarketCategoryController( IYandexMarketProductService yandexMarketProductService, IYandexMarketCategoryService yandexMarketCategoryService, ICategoryService shopCategoryService, IProductService productService, IStoreContext storeContext) { _yandexMarketProductService = yandexMarketProductService; this._yandexMarketCategoryService = yandexMarketCategoryService; _shopCategoryService = shopCategoryService; this._productService = productService; _storeContext = storeContext; }
public YandexMarketProductService( ICacheManager cacheManager, IRepository2 <YandexMarketProductRecord> productRepository, IYandexMarketCategoryService yandexMarketCategoryService, IProductService productService, IYugCatalogPriceParserService yugCatalogPriceParserService) { this._cacheManager = cacheManager; this._productRepository = productRepository; this._yandexMarketCategoryService = yandexMarketCategoryService; this._productService = productService; _yugCatalogPriceParserService = yugCatalogPriceParserService; }
public YandexMarketParserCategoryController( IYandexMarketCategoryService yandexMarketCategoryService, ICategoryService shopCategoryService, IProductService productService, IStoreContext storeContext, ILogger logger, IUrlRecordService urlRecordService) { this._yandexMarketCategoryService = yandexMarketCategoryService; _shopCategoryService = shopCategoryService; this._productService = productService; _storeContext = storeContext; _logger = logger; this._urlRecordService = urlRecordService; }
public YandexMarketProductController(IYandexMarketProductService yandexMarketProductService, IProductService productService, IUrlRecordService urlRecordService, ICategoryService categoryService, IPictureService pictureService, ISpecificationAttributeService2 specificationAttributeService, IYandexMarketCategoryService yandexMarketCategoryService, ILogger logger, SeoSettings seoSettings, IPriceManagerService priceManagerService) { _yandexMarketProductService = yandexMarketProductService; _productService = productService; _urlRecordService = urlRecordService; _categoryService = categoryService; _pictureService = pictureService; _specificationAttributeService = specificationAttributeService; _yandexMarketCategoryService = yandexMarketCategoryService; _logger = logger; _seoSettings = seoSettings; _priceManagerService = priceManagerService; }
public static BaseParserCategories Create(string productsPageUrl, ILogger logger, IYandexMarketCategoryService _yandexMarketCategoryService) { BaseParserCategories parser = null; if (productsPageUrl.Contains("yugcontract.ua")) { parser = new UgContractParserCategory(); } //else if (productsPageUrl.Contains("market.yandex")) // parser = new YandexMarketParser(); else { throw new Exception("Can't define parser type for url=" + productsPageUrl); } parser.Init(productsPageUrl, logger, _yandexMarketCategoryService); return(parser); }
public YandexMarketCategoryController(IYandexMarketCategoryService yandexMarketCategoryService) { _yandexMarketCategoryService = yandexMarketCategoryService; }