public UnsplashServiceCached(ILogger <UnsplashService> logger, UnsplashServiceOptions options, IDistributedCache distributedCache) : base(logger, options) { _distributedCache = distributedCache ?? throw new ArgumentNullException(nameof(distributedCache)); }
public UnsplashService(ILogger <UnsplashService> logger, UnsplashServiceOptions options) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _options = options ?? throw new ArgumentNullException(nameof(options)); }