Skip to main content
Table of Contents

Struct UpcastedEvent

Namespace
Stratara.Abstractions.EventSourcing
Assembly
Stratara.Abstractions.dll

The result of running the IEventUpcasterPipeline: the effective event type name and JSON payload after all matching upcasters have been applied.

public readonly record struct UpcastedEvent : IEquatable<UpcastedEvent>
Implements
Inherited Members
Extension Methods

Constructors

UpcastedEvent(string, string)

The result of running the IEventUpcasterPipeline: the effective event type name and JSON payload after all matching upcasters have been applied.

public UpcastedEvent(string EventTypeName, string DataJson)

Parameters

EventTypeName string

The type name the payload should now be resolved and deserialized as.

DataJson string

The (possibly rewritten) JSON payload.

Properties

DataJson

The (possibly rewritten) JSON payload.

public string DataJson { get; init; }

Property Value

string

EventTypeName

The type name the payload should now be resolved and deserialized as.

public string EventTypeName { get; init; }

Property Value

string