ReviewViewModel.cs 638 B

1234567891011121314151617181920212223242526272829
  1. using System.Collections.Generic;
  2. using System.Windows.Media;
  3. namespace AIPractice.LabellerServer.ViewModels
  4. {
  5. class ImageViewModel:ViewModel
  6. {
  7. public string CommittedImageId { get; }
  8. public ImageSource Image { get; }
  9. public ImageViewModel(ImageSource image, string committedImageId)
  10. {
  11. Image = image;
  12. CommittedImageId = committedImageId;
  13. }
  14. }
  15. class ReviewViewModel:ViewModel
  16. {
  17. public List<ImageViewModel> Images { get; }
  18. public ReviewViewModel(List<ImageViewModel> images)
  19. {
  20. Images = images;
  21. }
  22. }
  23. }