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.Commands.DtoCommand< TAuthenticationToken, TDto > Class Template Reference

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

+ Inheritance diagram for Cqrs.Commands.DtoCommand< TAuthenticationToken, TDto >:

Public Member Functions

 DtoCommand (Guid id, TDto original, TDto @new)
 Instantiates a new instance of DtoCommand<TAuthenticationToken,TDto> More...
 

Properties

TDto Original [get, set]
 Gets or sets the original version of the TDto . More...
 
TDto New [get, set]
 Gets or sets the new version of the TDto . More...
 
Guid Id [get, set]
 The identifier of the command itself. In some cases this may be the IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> this command targets. More...
 
int ExpectedVersion [get, set]
 The expected version number the targeted IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> is expected to be. 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.Commands.ICommand< TAuthenticationToken >
Guid Id [get, set]
 The identifier of the command itself. In some cases this may be the IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> this command targets. More...
 
int ExpectedVersion [get, set]
 The expected version number the targeted IAggregateRoot<TAuthenticationToken> or ISaga<TAuthenticationToken> is expected to be. 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 ICommand<TAuthenticationToken> for IDto objects

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