示例#1
0
 public RecognizeService(ApplicationDBContext applicationDBContext,
                         IFileService fileService,
                         IImageWorkerService imageWorkerService,
                         IHostingEnvironment env)
 {
     _imageWorkerService   = imageWorkerService;
     _applicationDbContext = applicationDBContext;
     _fileService          = fileService;
     _env = env;
 }
示例#2
0
 public ImageWorkerTests()
 {
     _IImageWorker = new ImageWorkerService(new ImageValidator());
 }
示例#3
0
 public MainControllerSevice(IImageWorkerService imageWorkerService, IFileService fileService, ApplicationDBContext applicationDBContext)
 {
     _applicationDBContext = applicationDBContext;
     _fileService          = fileService;
     _imageWorkerService   = imageWorkerService;
 }