コード例 #1
0
        public override void Flush(string path, TorrentFile file)
        {
            Stream s = streamsBuffer.FindStream(GenerateFilePath(path, file));

            if (s != null)
            {
                s.Flush();
            }
        }
コード例 #2
0
ファイル: DiskWriter.cs プロジェクト: ARLM-Attic/clr-toolbox
        public override void Flush(TorrentFile file)
        {
            Stream s = streamsBuffer.FindStream(file.FullPath);

            if (s != null)
            {
                s.Flush();
            }
        }
コード例 #3
0
        public void Flush(TorrentFile file)
        {
            Stream s = streamsBuffer.FindStream(file.FullPath);

            s?.Flush();
        }