StringItemStream<TItem> Class
A read-only, non-seeking string-based stream produced by iterating over a collection of arbitrary objects.
Namespace
Statiq.Common
Interfaces
  • IDisposable
  • IAsyncDisposable
Base Types
Derived Types
graph BT Type-->Base0["ItemStream<TItem>"] Base0-->Base1["Stream"] Base1-->Base2["MarshalByRefObject"] Base2-->Base3["object"] Type-.->Interface0["IDisposable"] Type-.->Interface1["IAsyncDisposable"] Type["StringItemStream<TItem>"] class Type type-node Derived0["StringItemStream"]-->Type click Derived0 "/api/Statiq.Common/StringItemStream" Derived1["DelegateStringItemStream<TItem>"]-->Type click Derived1 "/api/Statiq.Common/DelegateStringItemStream_1"

Syntax

public abstract class StringItemStream<TItem> : ItemStream<TItem>, IDisposable, IAsyncDisposable

Type Parameters

Name Description
TItem

Constructors

Methods

Name Return Value Summary
GetItemBytes(TItem) ReadOnlySpan<byte>
GetItemString(TItem) string
Gets the string for a given item.
GetPrefix() ReadOnlySpan<byte>
Reset() void

Extension Methods