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.Tests.Substitutes.TestSagaUnitOfWork Class Reference
+ Inheritance diagram for Cqrs.Tests.Substitutes.TestSagaUnitOfWork:

Public Member Functions

void Add< TSaga > (TSaga saga)
 Add an item into the ISagaUnitOfWork<TAuthenticationToken> ready to be committed. More...
 
TSaga Get< TSaga > (Guid id, int? expectedVersion=null)
 Get an item from the ISagaUnitOfWork<TAuthenticationToken> if it has already been loaded. More...
 
void Commit ()
 Commit any changed Saga<TAuthenticationToken> added to this ISagaUnitOfWork<TAuthenticationToken> via ISagaUnitOfWork<TAuthenticationToken>.Add<TSaga> More...
 
- Public Member Functions inherited from Cqrs.Domain.ISagaUnitOfWork< ISingleSignOnToken >
void Add< TSaga > (TSaga saga)
 Add an item into the ISagaUnitOfWork<TAuthenticationToken> ready to be committed. More...
 
TSaga Get< TSaga > (Guid id, int? expectedVersion=null)
 Get an item from the ISagaUnitOfWork<TAuthenticationToken> if it has already been loaded. More...
 
void Commit ()
 Commit any changed Saga<TAuthenticationToken> added to this ISagaUnitOfWork<TAuthenticationToken> via Add<T> More...
 
- Public Member Functions inherited from Cqrs.Domain.ISagaUnitOfWork< Guid >
void Add< TSaga > (TSaga saga)
 Add an item into the ISagaUnitOfWork<TAuthenticationToken> ready to be committed. More...
 
TSaga Get< TSaga > (Guid id, int? expectedVersion=null)
 Get an item from the ISagaUnitOfWork<TAuthenticationToken> if it has already been loaded. More...
 
void Commit ()
 Commit any changed Saga<TAuthenticationToken> added to this ISagaUnitOfWork<TAuthenticationToken> via Add<T> More...
 

Properties

static IDictionary< Guid, Tuple< ISaga< Guid >, int, int, int > > TestGuidSagasWithAddCountGetCountAndCommitCount [get, set]
 
static IDictionary< Guid, Tuple< ISaga< ISingleSignOnToken >, int, int, int > > TestSagasWithAddCountGetCountAndCommitCount [get, set]