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
EventTypeNamestringThe type name the payload should now be resolved and deserialized as.
DataJsonstringThe (possibly rewritten) JSON payload.
Properties
DataJson
The (possibly rewritten) JSON payload.
public string DataJson { get; init; }
Property Value
EventTypeName
The type name the payload should now be resolved and deserialized as.
public string EventTypeName { get; init; }