IMessageType

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

Specification

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

Summary

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

CreationDate

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

Returns

DateTime

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>

Sender

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

Returns

AggregateId option