public UrlService(IUrlFormatService urlFormatService, IUrlLocalizationService urlLocalizationService, ICategoryCatalogUrlService categoryCatalogUrlService, IProductUrlService productUrlService, IUwebshopRequestService requestService, ICategoryService categoryService, IProductService productService) { _urlFormatService = urlFormatService; _urlLocalizationService = urlLocalizationService; _categoryCatalogUrlService = categoryCatalogUrlService; _productUrlService = productUrlService; _requestService = requestService; _categoryService = categoryService; _productService = productService; }
public IntegrationClient(HttpClient httpClient, IOptions <IntegrationClientConfig> integrationClientConfig, IUrlFormatService urlFormatService) { _integrationClientConfig = integrationClientConfig.Value; _httpClient = httpClient; _urlFormatService = urlFormatService; _httpClient.BaseAddress = new Uri(_integrationClientConfig.BaseAddress); }
public TvMazeClient(HttpClient httpClient, IOptions <TvMazeConfig> tvMazeConfig, IJsonConverterWrapper jsonConverter, IUrlFormatService urlFormatService) { _tvMazeConfig = tvMazeConfig.Value; _httpClient = httpClient; _jsonConverter = jsonConverter; _urlFormatService = urlFormatService; _httpClient.BaseAddress = new Uri(_tvMazeConfig.BaseAddress); }