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.

◆ AggregateOrEventMissingIdException()

Cqrs.Domain.Exceptions.AggregateOrEventMissingIdException.AggregateOrEventMissingIdException ( Type  aggregateType,
Type  eventType 
)

Instantiate a new instance of AggregateOrEventMissingIdException with the Type of the IEvent<TAuthenticationToken> and IAggregateRoot<TAuthenticationToken>. The eventType that was trying to be saved on an aggregateType .

Parameters
aggregateTypeThe Type of the IAggregateRoot<TAuthenticationToken> that the IEvent<TAuthenticationToken> was trying to be saved on.
eventTypeThe Type of the IEvent<TAuthenticationToken> that was trying to be saved.