Class NonDisposingWrapperStream
A wrapper stream which supresses disposal of the underlying stream.
public class NonDisposingWrapperStream : WrapperStream, IDisposable, IAsyncDisposable
- Inheritance
-
NonDisposingWrapperStream
- Implements
- Inherited Members
Constructors
NonDisposingWrapperStream(Stream)
Constructor for NonDisposingWrapperStream.
public NonDisposingWrapperStream(Stream baseStream)
Parameters
baseStreamStreamThe base stream to wrap.
Methods
Close()
The Close implementation for this wrapper stream does not close the underlying stream.
public override void Close()
Dispose(bool)
The Dispose implementation for this wrapper stream does not close the underlying stream.
protected override void Dispose(bool disposing)
Parameters
disposingbool