Esempio n. 1
0
 private void ReadFile(System.IO.FileInfo file)
 {
     using (var fileStream = file.OpenRead())
     {
         Span <byte> buffer = new Span <byte>();
         fileStream.Read(buffer);
         string content = GetFileContent(buffer);
         historyFiles = FileSerializer.Deserialize(content);
     }
 }
Esempio n. 2
0
 public ExtractorContext()
 {
     hashFileCollection        = new HashFileCollection();
     hashFilePubilishContainer = new FilePublishTimeDictionary();
     fileInfoCollection        = new FileInfoCollection();
 }
Esempio n. 3
0
 private void FileComparer(ConcurrentDictionary <int, FileInfo> fileInfoDictionary, HashFileCollection historyFiles)
 {
     foreach (var kp in fileInfoDictionary)
     {
     }
 }