Exemple #1
0
 public void SaveAllDetail()
 {
     foreach (var item in _results)
     {
         ImageResult.SaveDetailFile(item.FileName);
     }
 }
Exemple #2
0
        public ImageResult AddToStore(ImageResult result)
        {
            if (!Exists(result.FileName))
            {
                _results.Add(result);
                return(result);
            }

            _results.FirstOrDefault(x => x.FileName == result.FileName)?.UpdateContours(result.GetContours);
            return(_results.FirstOrDefault(x => x.FileName == result.FileName));
        }