예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImvdbImageProvider"/> class.
 /// </summary>
 /// <param name="httpClientFactory">Instance of the <see cref="IHttpClientFactory"/> interface.</param>
 /// <param name="imvdbClient">Instance of the <see cref="IImvdbClient"/> interface.</param>
 public ImvdbImageProvider(
     IHttpClientFactory httpClientFactory,
     IImvdbClient imvdbClient)
 {
     _httpClientFactory = httpClientFactory;
     _imvdbClient       = imvdbClient;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImvdbArtistProvider"/> class.
 /// </summary>
 /// <param name="httpClientFactory">Instance of the <see cref="IHttpClientFactory"/> interface.</param>
 /// <param name="logger">Instance of the <see cref="ILogger{ImvdbArtistProvider}"/> interface.</param>
 /// <param name="imvdbClient">Instance of the <see cref="IImvdbClient"/> interface.</param>
 public ImvdbArtistProvider(
     IHttpClientFactory httpClientFactory,
     ILogger <ImvdbArtistProvider> logger,
     IImvdbClient imvdbClient)
 {
     _httpClientFactory = httpClientFactory;
     _logger            = logger;
     _imvdbClient       = imvdbClient;
 }