CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Domain.Exceptions.DuplicateEventException< TAggregateRoot, TAuthenticationToken > Class Template Reference

The IEventStore<TAuthenticationToken> gave more than one IEvent<TAuthenticationToken>. More...

+ Inheritance diagram for Cqrs.Domain.Exceptions.DuplicateEventException< TAggregateRoot, TAuthenticationToken >:

Public Member Functions

 DuplicateEventException (Guid id, int version)
 Instantiate a new instance of DuplicateEventException<TAggregateRoot,TAuthenticationToken> with the provided identifier of the IAggregateRoot<TAuthenticationToken> that had duplicate events. and the version that had more than one IEvent<TAuthenticationToken> provided. More...
 

Properties

Guid Id [get, set]
 The identifier of the IAggregateRoot<TAuthenticationToken> that had duplicate events.. More...
 
Type AggregateType [get, set]
 The Type of the IAggregateRoot<TAuthenticationToken> that had duplicate events.. More...
 

Detailed Description

The IEventStore<TAuthenticationToken> gave more than one IEvent<TAuthenticationToken>.

Template Parameters
TAggregateRootThe Type of the IAggregateRoot<TAuthenticationToken> that wasn't found.
TAuthenticationTokenThe Type of the authentication token.
Type Constraints
TAggregateRoot :IAggregateRoot<TAuthenticationToken>