Skip to content

IVersionedSnapshotSource interface

Defined in

Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Collections.IVersionedSnapshotSource<T> Modifiers: public abstract

Summary

A collection that can copy its items together with the version the copy corresponds to, and that publishes each change with its version.

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Remarks

Use this to build a view that starts from a snapshot and then replays changes without missing or double-applying one: subscribe to VersionedStream, take a snapshot with CopyVersioned, then ignore every notification whose version is at most the snapshot version. Apply the remaining changes in delivery order. A batch operation without an item payload requires taking a new snapshot.

Properties

NameSummary
VersionedStreamGets an observable of change notifications, each paired with the version the change produced.

Methods

NameSummary
CopyVersionedCopies every item and reports the version of that copy.