CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Snapshots.SnapshotRepository< TAuthenticationToken > Class Template Reference
+ Inheritance diagram for Cqrs.Snapshots.SnapshotRepository< TAuthenticationToken >:

Public Member Functions

 SnapshotRepository (ISnapshotStore snapshotStore, ISnapshotStrategy< TAuthenticationToken > snapshotStrategy, IAggregateRepository< TAuthenticationToken > repository, IEventStore< TAuthenticationToken > eventStore, IAggregateFactory aggregateFactory)
 
void Save< TAggregateRoot > (TAggregateRoot aggregate, int? exectedVersion=null)
 
TAggregateRoot Get< TAggregateRoot > (Guid aggregateId, IList< IEvent< TAuthenticationToken >> events=null)