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.

◆ Get< TSaga >()

TSaga Cqrs.Domain.ISagaRepository< TAuthenticationToken >.Get< TSaga > ( Guid  sagaId,
IList< ISagaEvent< TAuthenticationToken >>  events = null 
)

Retrieves an ISaga<TAuthenticationToken> of type TSaga .

Template Parameters
TSagaThe Type of the ISaga<TAuthenticationToken>.
Parameters
sagaIdThe identifier of the ISaga<TAuthenticationToken> to retrieve.
eventsA collection of IEvent<TAuthenticationToken> to replay on the retrieved ISaga<TAuthenticationToken>. If null, the IEventStore<TAuthenticationToken> will be used to retrieve a list of IEvent<TAuthenticationToken> for you.

Implemented in Cqrs.Domain.SagaRepository< TAuthenticationToken >.

Type Constraints
TSaga :ISaga<TAuthenticationToken>