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, IEnumerable<PropertyPath>, int)
Represents the result of an projection.
public ProjectionResult(object Model, IEnumerable<PropertyPath> AffectedProperties, int ProjectedEventsCount)
Parameters
Model
objectThe instance of the Model.
AffectedProperties
IEnumerable<PropertyPath>Collection of properties that was set.
ProjectedEventsCount
intNumber 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.
public object Model { get; init; }
Property Value
ProjectedEventsCount
Number of events that caused projection.
public int ProjectedEventsCount { get; init; }