示例#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);
     }
 }
示例#2
0
 public ExtractorContext()
 {
     hashFileCollection        = new HashFileCollection();
     hashFilePubilishContainer = new FilePublishTimeDictionary();
     fileInfoCollection        = new FileInfoCollection();
 }
示例#3
0
 private void FileComparer(ConcurrentDictionary <int, FileInfo> fileInfoDictionary, HashFileCollection historyFiles)
 {
     foreach (var kp in fileInfoDictionary)
     {
     }
 }