CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless 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>