Table of Contents

Class EventAndContext

Namespace
Cratis.Chronicle.Events
Assembly
Cratis.Chronicle.dll

Represents an event and its context.

public record EventAndContext : IEquatable<EventAndContext>
Inheritance
EventAndContext
Implements
Inherited Members

Constructors

EventAndContext(object, EventContext)

Represents an event and its context.

public EventAndContext(object Event, EventContext Context)

Parameters

Event object

The content of the vent.

Context EventContext

EventContext for the event.

Properties

Context

EventContext for the event.

public EventContext Context { get; init; }

Property Value

EventContext

Event

The content of the vent.

public object Event { get; init; }

Property Value

object