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

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

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

Template Parameters
TAggregateRootThe Type of the IAggregateRoot<TAuthenticationToken> the IEvent<TAuthenticationToken> was raised in.

Implemented in Cqrs.Domain.UnitOfWork< TAuthenticationToken >.

Type Constraints
TAggregateRoot :IAggregateRoot<TAuthenticationToken>