IMessageType

PackageFCQRS.Model
Interface for messages with common properties shared by Commands and Events.

Specification

Kind
Type
Members
4
Examples
0
SenderSignature
this.Sender
IdSignature
this.Id
MetadataSignature
this.Metadata
CreationDateSignature
this.CreationDate

Summary

NameSignatureSynopsis
Senderthis.SenderGets the optional identifier for the actor that sent/generated the message.
Idthis.IdGets the unique identifier for the message.
Metadatathis.MetadataGets the metadata associated with the message.
CreationDatethis.CreationDateGets the timestamp when the message was created.

Sender

this.Sender
Member
Gets the optional identifier for the actor that sent/generated the message.

Returns

AggregateId option

Id

this.Id
Member
Gets the unique identifier for the message.

Returns

MessageId

Metadata

this.Metadata
Member
Gets the metadata associated with the message.

Returns

Map<string, string>

CreationDate

this.CreationDate
Member
Gets the timestamp when the message was created.

Returns

DateTime