示例#1
0
 public MainViewModel()
 {
     visionService       = DependencyService.Get <IVisionAPIService>();
     getDniPhotoCommand  = new Command(async() => await GetDniPhotoExecuteAsync());
     getFacePhotoCommand = new Command(async() => await GetFacePhotoExecuteAsync());
     getResultsCommand   = new Command(async() => await GetResultsExecuteAsync());
 }
示例#2
0
 public ResultsViewModel()
 {
     visionService = DependencyService.Get <IVisionAPIService>();
 }