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< TAggregateRoot >()

virtual TAggregateRoot Cqrs.Domain.UnitOfWork< TAuthenticationToken >.Get< TAggregateRoot > ( Guid  id,
int?  expectedVersion = null,
bool  useSnapshots = false 
)
virtual

Get an item from the IUnitOfWork<TAuthenticationToken> if it has already been loaded or get it from the IAggregateRepository<TAuthenticationToken>.

Implements Cqrs.Domain.IUnitOfWork< TAuthenticationToken >.

Type Constraints
TAggregateRoot :IAggregateRoot<TAuthenticationToken>