示例#1
0
 public DetectorController(IRekognitionService RekognitionService, ICollectionService collectionService)
 {
     if (null == RekognitionService || null == collectionService)
     {
         throw new ArgumentNullException();
     }
     _rekognitionService = RekognitionService;
     _collectionService  = collectionService;
 }
 public UnicornController(IUnicornService unicornService, IRekognitionService rekognitionService)
 {
     this.unicornService     = unicornService;
     this.rekognitionService = rekognitionService;
 }
示例#3
0
 public RekognitionController(IRekognitionService rekognition)
 {
     _rekognitionService = rekognition;
 }