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

Public Member Functions

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

Protected Member Functions

 AkkaSaga (ISagaUnitOfWork< TAuthenticationToken > unitOfWork, ILogger logger, IAkkaSagaRepository< TAuthenticationToken > repository, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper< TAuthenticationToken > authenticationTokenHelper, ICommandPublisher< TAuthenticationToken > commandPublisher)
 
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< TEvent > (Action< TEvent > action, TEvent @event)
 
virtual void ApplyChange (ISagaEvent< TAuthenticationToken > @event)
 
virtual void ApplyChange (IEvent< TAuthenticationToken > @event)
 
virtual void SetId (ISagaEvent< TAuthenticationToken > sagaEvent)
 
virtual void Apply (ISagaEvent< TAuthenticationToken > sagaEvent)
 

Properties

ISagaUnitOfWork< TAuthenticationToken > UnitOfWork [get, set]
 
IAkkaSagaRepository< 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]
 
ICommandPublisher< TAuthenticationToken > CommandPublisher [get, set]
 
- Properties inherited from Cqrs.Domain.ISaga< TAuthenticationToken >
Guid Id [get]
 
int Version [get]