Table of Contents

Class DomainEvent

Namespace
Signal.Domain.Events
Assembly
Signal.Domain.dll

Base record for the built-in domain events.

public abstract record DomainEvent : IDomainEvent, IEquatable<DomainEvent>
Inheritance
DomainEvent
Implements
Derived
Inherited Members

Constructors

DomainEvent(IncomingEnvelope)

Base record for the built-in domain events.

protected DomainEvent(IncomingEnvelope Envelope)

Parameters

Envelope IncomingEnvelope

The envelope that produced the event.

Properties

Envelope

The envelope that produced the event.

public IncomingEnvelope Envelope { get; init; }

Property Value

IncomingEnvelope

OccurredAt

When the event happened (the envelope timestamp).

public DateTimeOffset OccurredAt { get; }

Property Value

DateTimeOffset