Wraps a
Stream
and calls an action when it's disposed.
Disposing this stream will also dispose the underlying stream before the action is called.
- Namespace
- Statiq
.Common - Interfaces
-
- IDisposable
- IAsyncDisposable
- Base Types
-
- object
- MarshalByRefObject
- Stream
- DelegatingStream
graph BT
Type-->Base0["DelegatingStream"]
click Base0 "/api/Statiq.Common/DelegatingStream"
Base0-->Base1["Stream"]
Base1-->Base2["MarshalByRefObject"]
Base2-->Base3["object"]
Type-.->Interface0["IDisposable"]
Type-.->Interface1["IAsyncDisposable"]
Type["ActionDisposableStream"]
class Type type-node
Syntax
public class ActionDisposableStream : DelegatingStream, IDisposable, IAsyncDisposable
Constructors
Name | Summary |
---|---|
Action |
Properties
Name | Property Type | Summary |
---|---|---|
CanRead | bool |
Inherited from DelegatingStream
|
CanSeek | bool |
Inherited from DelegatingStream
|
CanTimeout | bool |
Inherited from DelegatingStream
|
CanWrite | bool |
Inherited from DelegatingStream
|
Length | long |
Inherited from DelegatingStream
|
Position | long |
Inherited from DelegatingStream
|
ReadTimeout | int |
Inherited from DelegatingStream
|
Stream | Stream |
Inherited from DelegatingStream
|
WriteTimeout | int |
Inherited from DelegatingStream
|