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.Akka.Domain.AkkaAggregateRepository< TAuthenticationToken > Class Template Reference
+ Inheritance diagram for Cqrs.Akka.Domain.AkkaAggregateRepository< TAuthenticationToken >:

Public Member Functions

 AkkaAggregateRepository (IAggregateFactory aggregateFactory, IEventStore< TAuthenticationToken > eventStore, IEventPublisher< TAuthenticationToken > publisher, ICorrelationIdHelper correlationIdHelper, IAkkaEventPublisherProxy< TAuthenticationToken > eventPublisher)
 
- Public Member Functions inherited from Cqrs.Domain.AggregateRepository< TAuthenticationToken >
 AggregateRepository (IAggregateFactory aggregateFactory, IEventStore< TAuthenticationToken > eventStore, IEventPublisher< TAuthenticationToken > publisher, ICorrelationIdHelper correlationIdHelper)
 
virtual void Save< TAggregateRoot > (TAggregateRoot aggregate, int? expectedVersion=null)
 
virtual TAggregateRoot Get< TAggregateRoot > (Guid aggregateId, IList< IEvent< TAuthenticationToken >> events=null)
 
virtual void LoadAggregateHistory< TAggregateRoot > (TAggregateRoot aggregate, IList< IEvent< TAuthenticationToken >> events=null, bool throwExceptionOnNoEvents=true)
 
- Public Member Functions inherited from Cqrs.Akka.Domain.IAkkaAggregateRepository< TAuthenticationToken >
void LoadAggregateHistory< TAggregateRoot > (TAggregateRoot aggregate, IList< IEvent< TAuthenticationToken >> events=null, bool throwExceptionOnNoEvents=true)
 

Protected Member Functions

override TAggregateRoot CreateAggregate< TAggregateRoot > (Guid id)
 
override void PublishEvent (IEvent< TAuthenticationToken > @event)
 
- Protected Member Functions inherited from Cqrs.Domain.AggregateRepository< TAuthenticationToken >
virtual TAggregateRoot LoadAggregate< TAggregateRoot > (Guid id, IList< IEvent< TAuthenticationToken >> events=null)
 

Properties

IAkkaEventPublisherProxy< TAuthenticationToken > EventPublisher [get]
 
- Properties inherited from Cqrs.Domain.AggregateRepository< TAuthenticationToken >
IEventStore< TAuthenticationToken > EventStore [get]
 
IEventPublisher< TAuthenticationToken > Publisher [get]
 
IAggregateFactory AggregateFactory [get]
 
ICorrelationIdHelper CorrelationIdHelper [get]