When writing new Streams, I'm tired of having to forward most of the methods to the underlying Stream. So this is the default behavior in this class, and subclasses are free to override any methods they see fit.
The following tables list the members exposed by AdapterStream.
Public Constructors
Name | Description | |
---|---|---|
![]() |
AdapterStream |
Protected Fields
Public Properties
Name | Description | |
---|---|---|
![]() |
CanRead | Overridden. |
![]() |
CanSeek | Overridden. |
![]() |
CanTimeout | Gets a value that determines whether the current stream can time out. (inherited from Stream) |
![]() |
CanWrite | Overridden. |
![]() |
Length | Overridden. |
![]() |
Position | Overridden. |
![]() |
ReadTimeout | Gets or sets a value that determines how long the stream will attempt to read before timing out. (inherited from Stream) |
![]() |
TargetStream | |
![]() |
WriteTimeout | Gets or sets a value that determines how long the stream will attempt to write before timing out. (inherited from Stream) |
Public Methods
Name | Description | |
---|---|---|
![]() |
BeginRead | Overridden. |
![]() |
BeginWrite | Overridden. |
![]() |
Close | Overridden. |
![]() |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject) |
![]() |
Dispose | Overloaded. Releases all resources used by the |
![]() |
EndRead | Overridden. |
![]() |
EndWrite | Overridden. |
![]() |
Equals | Determines whether the specified |
![]() |
Flush | Overridden. |
![]() |
GetHashCode | Serves as a hash function for a particular type. |
![]() |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) |
![]() |
GetType | Gets the |
![]() |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) |
![]() |
Read | Overridden. |
![]() |
ReadByte | Overridden. |
![]() |
Seek | Overridden. |
![]() |
SetLength | Overridden. |
![]() |
ToString | Returns a |
![]() |
Write | Overridden. |
![]() |
WriteByte | Overridden. |
Protected Methods
Name | Description | |
---|---|---|
![]() |
CreateWaitHandle | Allocates a |
![]() |
Dispose | Overloaded. Releases all resources used by the |
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Overloaded. Creates a shallow copy of the current |