Class ProjectionRebuildStatus
- Namespace
- Excalibur.EventSourcing.Projections
- Assembly
- Excalibur.EventSourcing.dll
Represents the status of a projection rebuild operation.
public sealed record ProjectionRebuildStatus : IEquatable<ProjectionRebuildStatus>
- Inheritance
-
ProjectionRebuildStatus
- Implements
- Inherited Members
Constructors
ProjectionRebuildStatus(string, ProjectionRebuildState, int, DateTimeOffset?)
Represents the status of a projection rebuild operation.
public ProjectionRebuildStatus(string ProjectionName, ProjectionRebuildState State, int Progress, DateTimeOffset? LastRebuiltAt)
Parameters
ProjectionNamestringThe name of the projection being rebuilt.
StateProjectionRebuildStateThe current state of the rebuild.
ProgressintThe progress percentage (0-100).
LastRebuiltAtDateTimeOffset?The timestamp of the last successful rebuild, or null if never rebuilt.
Properties
LastRebuiltAt
The timestamp of the last successful rebuild, or null if never rebuilt.
public DateTimeOffset? LastRebuiltAt { get; init; }
Property Value
Progress
The progress percentage (0-100).
public int Progress { get; init; }
Property Value
ProjectionName
The name of the projection being rebuilt.
public string ProjectionName { get; init; }
Property Value
State
The current state of the rebuild.
public ProjectionRebuildState State { get; init; }