Interface IMessage
A message such as an event or command.
Namespace: Cqrs.Messages
Assembly: Cqrs.dll
Syntax
public interface IMessage
Properties
CorrelationId
An identifier used to group together several IMessage. Any IMessage with the same CorrelationId were triggered by the same initiating request.
Declaration
Guid CorrelationId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Frameworks
The frameworks this IMessage has been delivered to/sent via already.
Declaration
IEnumerable<string> Frameworks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
OriginatingFramework
The originating framework this message was sent from.
Declaration
string OriginatingFramework { get; set; }
Property Value
Type | Description |
---|---|
System.String |