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.Cache.CacheRepository< TAuthenticationToken > Class Template Reference
+ Inheritance diagram for Cqrs.Cache.CacheRepository< TAuthenticationToken >:

Public Member Functions

 CacheRepository (IAggregateRepository< TAuthenticationToken > repository, IEventStore< TAuthenticationToken > eventStore)
 
virtual void Save< TAggregateRoot > (TAggregateRoot aggregate, int? expectedVersion=null)
 
virtual TAggregateRoot Get< TAggregateRoot > (Guid aggregateId, IList< IEvent< TAuthenticationToken >> events=null)