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.
Cqrs.Events.DtoAggregateEvent< TAuthenticationToken, TDto > Class Template Reference

A IEvent<TAuthenticationToken> for IDto objects More...

+ Inheritance diagram for Cqrs.Events.DtoAggregateEvent< TAuthenticationToken, TDto >:

Public Member Functions

 DtoAggregateEvent (Guid id, TDto original, TDto @new)
 Instantiates a new instance of DtoAggregateEvent<TAuthenticationToken,TDto> More...
 
DtoAggregateEventType GetEventType ()
 Determines the DtoAggregateEventType this IEvent<TAuthenticationToken> represents. More...
 

Properties

TDto Original [get]
 Gets or sets the original version of the TDto . More...
 
TDto New [get]
 Gets or sets the new version of the TDto . More...
 
Guid Id [get, set]
 The identifier of the event itself. In some cases this may be the IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> this command targets. More...
 
int Version [get, set]
 The new version number the targeted IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> that raised this. More...
 
DateTimeOffset TimeStamp [get, set]
 The date and time the event was raised or published. More...
 
TAuthenticationToken AuthenticationToken [get, set]
 The TAuthenticationToken of the entity that triggered the event to be raised. More...
 
Guid CorrelationId [get, set]
 An identifier used to group together several IMessage. Any IMessage with the same CorrelationId were triggered by the same initiating request. More...
 
string OriginatingFramework [get, set]
 The originating framework this message was sent from. More...
 
IEnumerable< string > Frameworks [get, set]
 The frameworks this IMessage has been delivered to/sent via already. More...
 
- Properties inherited from Cqrs.Events.IEvent< TAuthenticationToken >
Guid Id [get, set]
 The ID of the IEvent<TAuthenticationToken> More...
 
int Version [get, set]
 The version of the IEvent<TAuthenticationToken> More...
 
DateTimeOffset TimeStamp [get, set]
 The date and time the event was raised or published. More...
 
- Properties inherited from Cqrs.Messages.IMessageWithAuthenticationToken< TAuthenticationToken >
TAuthenticationToken AuthenticationToken [get, set]
 The TAuthenticationToken of the entity that triggered the event to be raised. More...
 
- Properties inherited from Cqrs.Messages.IMessage
Guid CorrelationId [get, set]
 An identifier used to group together several IMessage. Any IMessage with the same CorrelationId were triggered by the same initiating request. More...
 
string OriginatingFramework [get, set]
 The originating framework this message was sent from. More...
 
IEnumerable< string > Frameworks [get, set]
 The frameworks this IMessage has been delivered to/sent via already. More...
 

Detailed Description

A IEvent<TAuthenticationToken> for IDto objects

Template Parameters
TAuthenticationTokenThe Type of authentication token.
TDtoThe Type of IDto this command targets.
Type Constraints
TDto :IDto