Retrieves an IAggregateRoot<TAuthenticationToken> of type TAggregateRoot up to and including the provided versionedDate .
- Template Parameters
-
TAggregateRoot | The Type of the IAggregateRoot<TAuthenticationToken>. |
- Parameters
-
aggregateId | The identifier of the IAggregateRoot<TAuthenticationToken> to retrieve. |
versionedDate | Load events up-to and including from this DateTime |
events | A collection of IEvent<TAuthenticationToken> to replay on the retrieved IAggregateRoot<TAuthenticationToken>. If null, the IEventStore<TAuthenticationToken> will be used to retrieve a list of IEvent<TAuthenticationToken> for you. |
Implements Cqrs.Domain.IAggregateRepository< TAuthenticationToken >.
- Type Constraints
-
TAggregateRoot | : | IAggregateRoot<TAuthenticationToken> | |