Class EventToApply
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents the payload for an event when used in applying to an projection.
public record EventToApply : IEquatable<EventToApply>
- Inheritance
-
EventToApply
- Implements
- Inherited Members
Constructors
EventToApply(EventType, JsonObject)
Represents the payload for an event when used in applying to an projection.
public EventToApply(EventType EventType, JsonObject Content)
Parameters
EventType
EventTypeThe type of event to append.
Content
JsonObjectThe JSON payload of the event.
Properties
Content
The JSON payload of the event.
public JsonObject Content { get; init; }
Property Value
EventType
The type of event to append.
public EventType EventType { get; init; }