Header menu logo FCQRS

IMessage Type

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

Instance members

Instance member Description

this.CreationDate

Full Usage: this.CreationDate

Returns: DateTime
Modifiers: abstract

Gets the timestamp when the message was created.

Returns: DateTime

this.Id

Full Usage: this.Id

Returns: MessageId
Modifiers: abstract

Gets the unique identifier for the message.

Returns: MessageId

this.Metadata

Full Usage: this.Metadata

Returns: Map<string, string>
Modifiers: abstract

Gets the metadata associated with the message.

Returns: Map<string, string>

this.Sender

Full Usage: this.Sender

Returns: ActorId option
Modifiers: abstract

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

Returns: ActorId option

Type something to start searching.