Table of Contents

Class ProjectionResultRaw

Namespace
Cratis.Chronicle.Projections
Assembly
Cratis.Chronicle.dll

Represents the result of an projection.

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

Constructors

ProjectionResultRaw(JsonObject, IEnumerable<PropertyPath>, int)

Represents the result of an projection.

public ProjectionResultRaw(JsonObject Model, IEnumerable<PropertyPath> AffectedProperties, int ProjectedEventsCount)

Parameters

Model JsonObject

The instance of the Model as JsonObject.

AffectedProperties IEnumerable<PropertyPath>

Collection of properties that was set.

ProjectedEventsCount int

Number of events that caused projection.

Properties

AffectedProperties

Collection of properties that was set.

public IEnumerable<PropertyPath> AffectedProperties { get; init; }

Property Value

IEnumerable<PropertyPath>

Model

The instance of the Model as JsonObject.

public JsonObject Model { get; init; }

Property Value

JsonObject

ProjectedEventsCount

Number of events that caused projection.

public int ProjectedEventsCount { get; init; }

Property Value

int