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.

◆ GetBetweenDates< T >()

IEnumerable<IEvent<TAuthenticationToken> > Cqrs.Events.IEventStore< TAuthenticationToken >.GetBetweenDates< T > ( Guid  aggregateId,
DateTime  fromVersionedDate,
DateTime  toVersionedDate 
)

Gets a collection of IEvent<TAuthenticationToken> for the T aggregate root with the ID matching the provided aggregateId from and including the provided fromVersionedDate up to and including the provided toVersionedDate .

Template Parameters
TThe Type of the IAggregateRoot<TAuthenticationToken> the IEvent<TAuthenticationToken> was raised in.
Parameters
aggregateIdThe IAggregateRoot<TAuthenticationToken>.Id of the IAggregateRoot<TAuthenticationToken>.
fromVersionedDateLoad events from and including from this DateTime
toVersionedDateLoad events up-to and including from this DateTime

Implemented in Cqrs.EventStore.EventStore< TAuthenticationToken >, Cqrs.Events.EventStore< TAuthenticationToken >, and Cqrs.Events.InProcessEventStore< TAuthenticationToken >.