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)); }
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)); }
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) { }