public PersonMetadataProvider(IKinopoiskApiClient apiClient, IProviderIdResolver <PersonLookupInfo> providerIdResolver, ILogger <PersonMetadataProvider> logger, IHttpClientFactory httpClientFactory)
     : base(httpClientFactory)
 {
     _apiClient          = apiClient ?? throw new System.ArgumentNullException(nameof(apiClient));
     _providerIdResolver = providerIdResolver ?? throw new System.ArgumentNullException(nameof(providerIdResolver));
     _logger             = logger ?? throw new System.ArgumentNullException(nameof(logger));
 }
Esempio n. 2
0
 public BaseVideoMetadataProvider(IKinopoiskApiClient kinopoiskApiClient, IProviderIdResolver <TLookupInfoType> providerIdResolver, ILogger logger, IHttpClientFactory httpClientFactory)
     : base(httpClientFactory)
 {
     _logger             = logger ?? throw new System.ArgumentNullException(nameof(logger));
     _apiClient          = kinopoiskApiClient ?? throw new System.ArgumentNullException(nameof(kinopoiskApiClient));
     _providerIdResolver = providerIdResolver ?? throw new System.ArgumentNullException(nameof(providerIdResolver));
 }
Esempio n. 3
0
 public VideoImageProvider(IKinopoiskApiClient kinopoiskApiClient, IProviderIdResolver <BaseItem> providerIdResolver, ILogger <VideoImageProvider> logger, IHttpClientFactory httpClientFactory)
     : base(httpClientFactory)
 {
     _logger             = logger ?? throw new ArgumentNullException(nameof(logger));
     _apiClient          = kinopoiskApiClient ?? throw new ArgumentNullException(nameof(kinopoiskApiClient));
     _providerIdResolver = providerIdResolver ?? throw new ArgumentNullException(nameof(providerIdResolver));
 }
 public SeriesMetadataProvider(IKinopoiskApiClient kinopoiskApiClient, IProviderIdResolver <SeriesInfo> providerIdResolver, ILogger <SeriesMetadataProvider> logger, IHttpClientFactory httpClientFactory)
     : base(kinopoiskApiClient, providerIdResolver, logger, httpClientFactory)
 {
 }