public ImageAgileEngineClient(IRestHttpProxy restHttpProxy, IAuthenticationHeaderFactory authenticationHeaderFactory, IOptions <ImageSearchConfig> imageSearchConfig, ILogger <InMemoryImageCacheRepository> logger) { RestHttpProxy = restHttpProxy; AuthenticationHeaderFactory = authenticationHeaderFactory; Logger = logger; ImageSearchConfig = imageSearchConfig.Value; }
public AuthenticationHeaderFactory(IRestHttpProxy restHttpProxy, IOptions <ImageSearchConfig> imageSearchConfig) { RestHttpProxy = restHttpProxy; ImageSearchConfig = imageSearchConfig.Value; }