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