IMessageType

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

Specification

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

Summary

NameSignatureSynopsis
Senderthis.SenderGets the optional identifier for the actor that sent/generated the message.
Metadatathis.MetadataGets the metadata associated with the message.
Idthis.IdGets the unique identifier for 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

Metadata

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

Returns

Map<string, string>

Id

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

Returns

MessageId

CreationDate

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

Returns

DateTime