Class ProjectionResult
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents the result of an projection.
public record ProjectionResult : IEquatable<ProjectionResult>
- Inheritance
-
ProjectionResult
- Implements
- Inherited Members
Constructors
ProjectionResult(object, int, EventSequenceNumber)
Represents the result of an projection.
public ProjectionResult(object ReadModel, int ProjectedEventsCount, EventSequenceNumber LastHandledEventSequenceNumber)
Parameters
ReadModelobjectThe instance of the read model.
ProjectedEventsCountintNumber of events that caused projection.
LastHandledEventSequenceNumberEventSequenceNumberThe last handled event sequence number.
Properties
LastHandledEventSequenceNumber
The last handled event sequence number.
public EventSequenceNumber LastHandledEventSequenceNumber { get; init; }
Property Value
ProjectedEventsCount
Number of events that caused projection.
public int ProjectedEventsCount { get; init; }
Property Value
ReadModel
The instance of the read model.
public object ReadModel { get; init; }