Ejemplo n.º 1
0
        public override void Flush(string path, TorrentFile file)
        {
            Stream s = streamsBuffer.FindStream(GenerateFilePath(path, file));

            if (s != null)
            {
                s.Flush();
            }
        }
Ejemplo n.º 2
0
        public override void Flush(TorrentFile file)
        {
            Stream s = streamsBuffer.FindStream(file.FullPath);

            if (s != null)
            {
                s.Flush();
            }
        }
Ejemplo n.º 3
0
        public void Flush(TorrentFile file)
        {
            Stream s = streamsBuffer.FindStream(file.FullPath);

            s?.Flush();
        }