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

Public Member Functions

 AkkaSagaRepository (IAggregateFactory aggregateFactory, IEventStore< TAuthenticationToken > eventStore, IEventPublisher< TAuthenticationToken > publisher, ICorrelationIdHelper correlationIdHelper, IAkkaEventPublisherProxy< TAuthenticationToken > eventPublisher)
 
- Public Member Functions inherited from Cqrs.Domain.SagaRepository< TAuthenticationToken >
 SagaRepository (IAggregateFactory sagaFactory, IEventStore< TAuthenticationToken > eventStore, IEventPublisher< TAuthenticationToken > publisher, ICorrelationIdHelper correlationIdHelper)
 
virtual void Save< TSaga > (TSaga saga, int? expectedVersion=null)
 
virtual TSaga Get< TSaga > (Guid sagaId, IList< ISagaEvent< TAuthenticationToken >> events=null)
 
virtual void LoadSagaHistory< TSaga > (TSaga saga, IList< ISagaEvent< TAuthenticationToken >> events=null, bool throwExceptionOnNoEvents=true)
 
- Public Member Functions inherited from Cqrs.Akka.Domain.IAkkaSagaRepository< TAuthenticationToken >
void LoadSagaHistory< TSaga > (TSaga saga, IList< ISagaEvent< TAuthenticationToken >> events=null, bool throwExceptionOnNoEvents=true)
 

Protected Member Functions

override TSaga CreateSaga< TSaga > (Guid id)
 
override void PublishEvent (ISagaEvent< TAuthenticationToken > @event)
 
- Protected Member Functions inherited from Cqrs.Domain.SagaRepository< TAuthenticationToken >
virtual TSaga LoadSaga< TSaga > (Guid id, IList< ISagaEvent< TAuthenticationToken >> events=null)
 

Properties

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