Ejemplo n.º 1
0
        public Stream Open(FileMode fileMode, FileAccess fileAccess, FileShare fileShare)
        {
            var position = GetPosition(fileMode);
            var stream   = new FakeFileStream(this)
            {
                Position = position
            };

            return(stream);
        }
Ejemplo n.º 2
0
 public Stream Open(FileMode fileMode, FileAccess fileAccess, FileShare fileShare)
 {
     var position = GetPosition(fileMode);
     var stream = new FakeFileStream(this) {Position = position};
     return stream;
 }