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 CachedKinopoiskApiClient(IKinopoiskApiClient innerClient, IMemoryCache cache, ILogger <CachedKinopoiskApiClient> logger) { _innerClient = innerClient ?? throw new ArgumentNullException(nameof(innerClient)); _cache = cache ?? throw new ArgumentNullException(nameof(cache)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public SeriesMetadataProvider(IKinopoiskApiClient kinopoiskApiClient, IProviderIdResolver <SeriesInfo> providerIdResolver, ILogger <SeriesMetadataProvider> logger, IHttpClientFactory httpClientFactory) : base(kinopoiskApiClient, providerIdResolver, logger, httpClientFactory) { }
public VideoResolver(IKinopoiskApiClient kinopoiskApiClient, ILogger <VideoResolver <T> > logger) : base(logger) { _kinopoiskApiClient = kinopoiskApiClient ?? throw new ArgumentNullException(nameof(kinopoiskApiClient)); }