public BlogImageServer(RequestDelegate next, ILoggerFactory loggerFactory, BlogContentExtractor blogContentExtractor) { _next = next; _logger = loggerFactory.CreateLogger <BlogImageServer>(); _blogContentExtractor = blogContentExtractor; }
public BlogRepository( IConfiguration configuration, ILoggerFactory loggerFactory, IHttpClientFactory httpClientFactory, PostInfoUrlManager postInfoUrlManager, BlogContentExtractor blogContentExtractor) { _loggerFactory = loggerFactory; _logger = loggerFactory.CreateLogger <BlogRepository>(); _blogContentBaseAddress = configuration["BlogContentBaseAddress"]; _blogListHttpClient = httpClientFactory.CreateClient("BlogList"); _postInfoUrlManager = postInfoUrlManager; _blogContentExtractor = blogContentExtractor; }