Share via


IStreamStorage<TKey> Interface

Definition

Interface to a storage of Streams. Each Stream in storage is identified by a key.

generic <typename TKey>
public interface class IStreamStorage : System::Collections::Generic::IEnumerable<TKey>
public interface IStreamStorage<TKey> : System.Collections.Generic.IEnumerable<TKey>
type IStreamStorage<'Key> = interface
    interface seq<'Key>
    interface IEnumerable
Public Interface IStreamStorage(Of TKey)
Implements IEnumerable(Of TKey)

Type Parameters

TKey

Type of the key that identifies a Stream in storage.

Derived
Implements

Properties

Item[TKey]

Open an existing Stream in storage for reading.

Methods

Contains(TKey)

Indicates whether storage contains a Stream with the given key.

Create(TKey)

Open a new Stream for writing, adding it to storage.

Delete(TKey)

Delete from storage the Stream identified by the given key.

GetStreamSize(TKey, Int64, Int64)

Gets the number of bytes used by an existing Stream in the storage.

GetTimestamp(TKey, TimestampKind)

Gets the timestamp for an existing Stream in the storage.

Open(TKey, StreamAccess)

Open an existing Stream in storage for reading.

SetTimestamp(TKey, TimestampKind, DateTime)

Sets the timestamp for an existing Stream in the storage.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to