A read-only, non-seeking stream produced by iterating over a collection of arbitrary objects.
- Namespace
- Statiq
.Common - Interfaces
-
- IDisposable
- IAsyncDisposable
- Base Types
-
- object
- MarshalByRefObject
- Stream
- Derived Types
graph BT
Type-->Base0["Stream"]
Base0-->Base1["MarshalByRefObject"]
Base1-->Base2["object"]
Type-.->Interface0["IDisposable"]
Type-.->Interface1["IAsyncDisposable"]
Type["ItemStream<TItem>"]
class Type type-node
Derived0["StringItemStream<TItem>"]-->Type
click Derived0 "/api/Statiq.Common/StringItemStream_1"
Derived1["DelegateItemStream<TItem>"]-->Type
click Derived1 "/api/Statiq.Common/DelegateItemStream_1"
Derived2["MemoryItemStream"]-->Type
click Derived2 "/api/Statiq.Common/MemoryItemStream"
Syntax
public abstract class ItemStream<TItem> : Stream, IDisposable, IAsyncDisposable
Type Parameters
Name | Description |
---|---|
TItem |
Constructors
Name | Summary |
---|---|
ItemStream |
Properties
Name | Property Type | Summary |
---|---|---|
CanRead | bool | |
CanSeek | bool | |
CanTimeout | bool | |
CanWrite | bool | |
Items | IEnumerable |
|
Length | long | |
Position | long | |
ReadTimeout | int | |
WriteTimeout | int |