Exemple #1
0
 public static void FixDto(MyDupFinderProjectDTO dto)
 {
     foreach (MyDupFinderScanJobDTO scanJobDto in dto.MyDupFinderScanJobDTOs)
     {
         MyDupFinderScanJobDTO.FixDto(scanJobDto);
     }
     foreach (MyDupFinderFindDupsJobDTO findDupsJobDto in dto.MyDupFinderFindDupsJobDTOs)
     {
         MyDupFinderFindDupsJobDTO.FixDto(findDupsJobDto);
     }
 }
Exemple #2
0
        public static void CheckSanity(MyDupFinderProjectDTO dto)
        {
            var scanDBs = new List <string>();

            foreach (MyDupFinderScanJobDTO scanJobDto in dto.MyDupFinderScanJobDTOs)
            {
                MyDupFinderScanJobDTO.CheckSanity(scanJobDto);
                scanDBs.Add(scanJobDto.DatabaseFile);
            }
            foreach (MyDupFinderFindDupsJobDTO findDupsJobDto in dto.MyDupFinderFindDupsJobDTOs)
            {
                MyDupFinderFindDupsJobDTO.CheckSanity(findDupsJobDto, scanDBs);
            }
        }