CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Domain.SagaEventHandler< TAuthenticationToken, TSaga > Class Template Reference

A process manager that you can implement IEventHandler instances on top of. More...

Protected Member Functions

 SagaEventHandler (IDependencyResolver dependencyResolver, ILogger logger)
 A constructor for the Cqrs.Domain.Factories.IAggregateFactory More...
 
 SagaEventHandler (IDependencyResolver dependencyResolver, ILogger logger, ISagaUnitOfWork< TAuthenticationToken > sagaUnitOfWork)
 Instantiate a new instance of SagaEventHandler<TAuthenticationToken,TSaga> More...
 
virtual TSaga GetSaga (Guid id)
 Gets the TSaga from the SagaUnitOfWork. More...
 

Properties

ISagaUnitOfWork< TAuthenticationToken > SagaUnitOfWork [get]
 Gets or set the ISagaUnitOfWork<TAuthenticationToken>. More...
 
IDependencyResolver DependencyResolver [get]
 Gets or set the IDependencyResolver. More...
 
ILogger Logger [get]
 Gets or set the ILogger. More...
 

Detailed Description

A process manager that you can implement IEventHandler instances on top of.

Template Parameters
TAuthenticationTokenThe Type of authentication token.
TSagaThe Type of ISaga<TAuthenticationToken>.
Type Constraints
TSaga :ISaga<TAuthenticationToken>