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() [2/2]

virtual IEnumerable<IEvent<TAuthenticationToken> > Cqrs.Events.InProcessEventStore< TAuthenticationToken >.Get ( Type  aggregateType,
Guid  aggregateId,
bool  useLastEventOnly = false,
int  fromVersion = -1 
)
virtual

Gets a collection of IEvent<TAuthenticationToken> for the IAggregateRoot<TAuthenticationToken> of type aggregateType with the ID matching the provided aggregateId .

Parameters
aggregateTypeType of the IAggregateRoot<TAuthenticationToken> the IEvent<TAuthenticationToken> was raised in.
aggregateIdThe IAggregateRoot<TAuthenticationToken>.Id of the IAggregateRoot<TAuthenticationToken>.
useLastEventOnlyLoads only the last eventIEvent<TAuthenticationToken>.
fromVersionLoad events starting from this version

Implements Cqrs.Events.IEventStore< TAuthenticationToken >.