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

Public Member Functions

IEnumerable< IEvent< TAuthenticationToken > > GetUncommittedChanges ()
 
virtual void MarkChangesAsCommitted ()
 
virtual void LoadFromHistory (IEnumerable< IEvent< TAuthenticationToken >> history)
 

Protected Member Functions

 AkkaAggregateRoot (IUnitOfWork< TAuthenticationToken > unitOfWork, ILogger logger, IAkkaAggregateRepository< TAuthenticationToken > repository, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper< TAuthenticationToken > authenticationTokenHelper)
 
override void PreStart ()
 User overridable callback. Is called when an Actor is started. Actors are automatically started asynchronously when created. Empty default implementation. More...
 
virtual void Execute< TCommand > (Action< TCommand > action, TCommand command)
 
virtual void ApplyChange (IEvent< TAuthenticationToken > @event)
 

Properties

IUnitOfWork< TAuthenticationToken > UnitOfWork [get, set]
 
IAkkaAggregateRepository< TAuthenticationToken > Repository [get, set]
 
ILogger Logger [get, set]
 
ICorrelationIdHelper CorrelationIdHelper [get, set]
 
IAuthenticationTokenHelper< TAuthenticationToken > AuthenticationTokenHelper [get, set]
 
Guid Id [get, protected set]
 
int Version [get, protected set]
 
- Properties inherited from Cqrs.Domain.IAggregateRoot< TAuthenticationToken >
Guid Id [get]
 
int Version [get]