Example #1
0
 public QueryController(IImageRecognitionService imageRecognition, IMapper mapper)
 {
     this.imageRecognition = imageRecognition ?? throw new ArgumentNullException(nameof(imageRecognition));
     this.mapper           = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
 public ImageRecognitionController(IImageRecognitionService imageRecognition)
 {
     this.imageRecognition = imageRecognition ?? throw new ArgumentNullException(nameof(imageRecognition));
 }
Example #3
0
 public PostController(IMediator dispatcher, IImageRecognitionService imageRecognition)
 {
     _dispatcher       = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher));
     _imageRecognition = imageRecognition ?? throw new ArgumentNullException(nameof(imageRecognition));
 }
Example #4
0
 public TargetsController(IImageRecognitionService imageRecognition, IMapper mapper, IOptions <GoogleCloudSettings> options)
 {
     this.imageRecognition = imageRecognition ?? throw new ArgumentNullException(nameof(imageRecognition));
     this.mapper           = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.options          = options ?? throw new ArgumentNullException(nameof(options));
 }
Example #5
0
 public ValuesController(IImageRecognitionService imageRecognitionService)
 {
     _imageRecognitionService = imageRecognitionService;
 }
 public ImageRecognitionRuntime(IImageRecognitionService imageRecognitionService)
 {
     _imageRecognitionService = imageRecognitionService ?? throw new ArgumentNullException(nameof(imageRecognitionService));
 }