Exemplo n.º 1
0
 public void Clear()
 {
     SourceOnlyFiles.Clear();
     DestOnlyFiles.Clear();
     ChangedFiles.Clear();
     LastModifiedDateFiles.Clear();
     RegisteredDateFiles.Clear();
     MovedFiles.Clear();
     MovedFileOrder.Clear();
     ErrorFiles.Clear();
 }
Exemplo n.º 2
0
        protected void CompareManifestsRecursiveDest(
            ManifestDirectoryInfo destDir,
            HashSet <ManifestFileInfo> destFileMatch)
        {
            foreach (ManifestFileInfo destFile in
                     destDir.Files.Values)
            {
                if (destFileMatch.Contains(destFile) == false)
                {
                    DestOnlyFiles.Add(destFile);
                }
            }

            foreach (ManifestDirectoryInfo nextDestDir in
                     destDir.Subdirectories.Values)
            {
                CompareManifestsRecursiveDest(
                    nextDestDir,
                    destFileMatch);
            }
        }