Skip to content

JsonDurableListCommandCodec<T>.WriteSnapshot(IReadOnlyCollection<T>, JournalStreamWriter)

WriteSnapshot(IReadOnlyCollection<T>, JournalStreamWriter)

View source
public void WriteSnapshot(IReadOnlyCollection<T> items, JournalStreamWriter writer)
Writes a snapshot command, deriving the item count from items.

Parameters

itemsIReadOnlyCollection<T>
writerJournalStreamWriter