public FaceService(
     IFaceRepository faceRepository,
     ILogWrapper logger)
 {
     FaceRepository = faceRepository;
     Logger         = logger;
 }
Exemplo n.º 2
0
 public FaceManager(IGroupRepository groupRepository, IPersonRepository personRepository, IFaceRepository faceRepository, IFaceAPIClient faceAPIClient)
 {
     this.groupRepository  = groupRepository;
     this.personRepository = personRepository;
     this.faceRepository   = faceRepository;
     this.faceAPIClient    = faceAPIClient;
 }
Exemplo n.º 3
0
 public FacesAppService(
     IFaceRepository faceRepository,
     IImageAppService imageAppService,
     IHttpContextAccessor httpContext) : base(faceRepository)
 {
     _faceRepository  = faceRepository;
     _imageAppService = imageAppService;
     _httpContext     = httpContext;
 }
 public FaceService(
     IMicrosoftCognitiveServicesApiKeys apiKeys,
     IMSSDKPolicyService policyService,
     IFaceRepository faceRepository,
     ILogWrapper logger)
 {
     ApiKeys        = apiKeys;
     PolicyService  = policyService;
     FaceRepository = faceRepository;
     Logger         = logger;
 }
Exemplo n.º 5
0
 public ImageProcessor()
 {
     _personService      = new PersonService();
     _faceRepository     = new FaceRepository();
     _pesronGorupService = new PesronGorupService();
 }
Exemplo n.º 6
0
 public PictureController()
 {
     _personService  = new PersonService();
     _faceService    = new FaceService();
     _faceRepository = new FaceRepository();
 }
 public ListFaces(IFaceRepository faceRepository)
 {
     _faceRepository = faceRepository;
 }