예제 #1
0
        public byte[] Read(string file)
        {
            if (FileList.ContainsKey(file))
            {
                byte[] data = FileList[file].GetData();

                return(data);
            }
            return(null);
        }
예제 #2
0
 public bool IsHaveCheck(string file)
 {
     return(FileList.ContainsKey(file));
 }
예제 #3
0
 public FileListEnum GetChangedFiles(FileList oldScanned, FileList newScanned)
 {
     return(newScanned.Where(s => oldScanned.ContainsKey(s.Key) && (oldScanned[s.Key] != s.Value)));
 }
예제 #4
0
 public override Boolean HasFile(String fileName)
 {
     return(FileList.ContainsKey(fileName.ToLower()));
 }
예제 #5
0
 public FileListEnum GetDeletedFiles(FileList oldScanned, FileList newScanned)
 {
     return(oldScanned.Where(s => newScanned.ContainsKey(s.Key) == false));
 }