Skip to main content
Table of Contents

Namespace Stratara.Infrastructure.EventSourcing

Classes

EventStream

Replay-helper that builds aggregates from event lists by invoking their Apply methods. Compiled Expression delegates are cached per (aggregateType, eventType) pair so reflection only happens once per pairing.

NoSnapshotStrategy

ISnapshotStrategy that never writes a snapshot — the supported way to disable snapshotting globally. Streams are always rebuilt by replaying their full event history.

VersionThresholdSnapshotStrategy

Default ISnapshotStrategy: writes a snapshot once a stream has advanced by at least a fixed threshold of versions since its most recent snapshot. Applies the same threshold (DefaultThreshold unless overridden) to every aggregate type, reproducing the framework's historical "snapshot every 50 events" behaviour.