Table of Contents

Class NewEvent

Namespace
Opossum.Core
Assembly
Opossum.dll

Represents an event to be appended to the event store. The sequence position is unknown at this stage and will be assigned by the event store.

public class NewEvent
Inheritance
NewEvent
Inherited Members

Remarks

This is the write-side counterpart of SequencedEvent. The DCB specification distinguishes between Event (write input) and SequencedEvent (read output). NewEvent maps to the spec's Event.

Properties

Event

The domain event payload including its type and tags.

public required DomainEvent Event { get; set; }

Property Value

DomainEvent

Metadata

Optional metadata such as timestamp, correlation ID, and causation ID.

public Metadata Metadata { get; set; }

Property Value

Metadata