![]() |
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.
|
IEnumerable<IEvent<TAuthenticationToken> > Cqrs.Events.IEventStore< TAuthenticationToken >.GetBetweenDates | ( | Type | aggregateRootType, |
Guid | aggregateId, | ||
DateTime | fromVersionedDate, | ||
DateTime | toVersionedDate | ||
) |
Gets a collection of IEvent<TAuthenticationToken> for the IAggregateRoot<TAuthenticationToken> of type aggregateRootType with the ID matching the provided aggregateId from and including the provided fromVersionedDate up to and including the provided toVersionedDate .
aggregateRootType | Type of the IAggregateRoot<TAuthenticationToken> the IEvent<TAuthenticationToken> was raised in. |
aggregateId | The IAggregateRoot<TAuthenticationToken>.Id of the IAggregateRoot<TAuthenticationToken>. |
fromVersionedDate | Load events from and including from this DateTime |
toVersionedDate | Load events up-to and including from this DateTime |
Implemented in Cqrs.MongoDB.Events.MongoDbEventStore< TAuthenticationToken >, Cqrs.Events.MemoryCacheEventStore< TAuthenticationToken >, Cqrs.Events.EventStore< TAuthenticationToken >, Cqrs.EventStore.EventStore< TAuthenticationToken >, Cqrs.Azure.BlobStorage.Events.TableStorageEventStore< TAuthenticationToken >, Cqrs.Events.InProcessEventStore< TAuthenticationToken >, Cqrs.Azure.BlobStorage.Events.BlobStorageEventStore< TAuthenticationToken >, and Cqrs.Azure.DocumentDb.Events.AzureDocumentDbEventStore< TAuthenticationToken >.