Esempio n. 1
0
 public ImageService(IImageMetadataRepository imageMetadataRepository,
                     IHttpClientFactory clientFactory, IServiceProvider serviceProvider, IOptions <List <MongoDBHostConfig> > mongoDBHostConfigs, ILogger <ImageService> logger)
 {
     _logger                  = logger;
     _clientFactory           = clientFactory;
     _serviceProvider         = serviceProvider;
     _mongoDBHostConfigs      = mongoDBHostConfigs.Value;
     _imageMetadataRepository = imageMetadataRepository;
 }
Esempio n. 2
0
 public ValuesController(IImageMetadataRepository imageMetadataRepository,
                         IHttpClientFactory clientFactory, IServiceProvider serviceProvider,
                         IOptions <List <MongoDBHostConfig> > mongoDBHostConfigs, ILogger <ValuesController> logger, IImageService imageService)
 {
     _imageMetadataRepository = imageMetadataRepository;
 }