public DocumentAnalyzerService(IFormRecognizerClient formRecognizerClient, IMlModelService mlModelService, IFileBuilder fileBuilder, IS3FileService s3FileService, ILogger logger)
 {
     _formRecognizerClient = formRecognizerClient;
     _mlModelService       = mlModelService;
     _fileBuilder          = fileBuilder;
     _s3FileService        = s3FileService;
     _logger = logger;
 }
Exemplo n.º 2
0
 public FunctionHandler(ILoggingService logger, IConfigurationService configurationService, IFlickrService flickrService,
                        IDownloadService downloadService, IS3FileService s3FileService, IImageService imageService)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService));
     _flickrService        = flickrService ?? throw new ArgumentNullException(nameof(flickrService));
     _downloadService      = downloadService ?? throw new ArgumentNullException(nameof(downloadService));
     _s3FileService        = s3FileService ?? throw new ArgumentNullException(nameof(s3FileService));
     _imageService         = imageService ?? throw new ArgumentNullException(nameof(imageService));
 }