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.ICommandWithIdentity< TAuthenticationToken > Interface Template Reference

An ICommand<TAuthenticationToken> that can identify an aggregate. The ICommand<TAuthenticationToken>.Id is specifically the identifier for the individual ICommand<TAuthenticationToken> itself, not the aggregate being targeted. More...

+ Inheritance diagram for Cqrs.Commands.ICommandWithIdentity< TAuthenticationToken >:

Properties

Guid Rsn [get, set]
 The identity of the aggregate being targeted. 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

An ICommand<TAuthenticationToken> that can identify an aggregate. The ICommand<TAuthenticationToken>.Id is specifically the identifier for the individual ICommand<TAuthenticationToken> itself, not the aggregate being targeted.

Template Parameters
TAuthenticationTokenThe Type of the authentication token.