Table of Contents

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

ProjectionName string

The name of the projection being rebuilt.

State ProjectionRebuildState

The current state of the rebuild.

Progress int

The progress percentage (0-100).

LastRebuiltAt DateTimeOffset?

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

DateTimeOffset?

Progress

The progress percentage (0-100).

public int Progress { get; init; }

Property Value

int

ProjectionName

The name of the projection being rebuilt.

public string ProjectionName { get; init; }

Property Value

string

State

The current state of the rebuild.

public ProjectionRebuildState State { get; init; }

Property Value

ProjectionRebuildState