in reference-implementations/semantic-search-for-images/src/ingestion/Services/ImageService.cs [26:32]
public ImageService(ILoggerFactory loggerFactory, AppSettings appSettings, IHttpClientFactory httpClientFactory, TokenCredential tokenCredential)
{
_logger = loggerFactory.CreateLogger<ImageService>();
_appSettings = appSettings;
_httpClient = httpClientFactory.CreateClient(Constants.NAMED_HTTP_CLIENT);
_tokenCredential = tokenCredential;
}