Class IndexAssureProgress
Progress event raised by RestoreAllIndicesAsync(Func<CollectionInfo, bool>, IProgress<IndexAssureProgress>, CancellationToken) as each collection is processed. One event per collection — used by the Blazor toolbar to show a notification per step and by the MCP tool to stream progress.
public record IndexAssureProgress : IEquatable<IndexAssureProgress>
- Inheritance
-
IndexAssureProgress
- Implements
- Inherited Members
Properties
CollectionInfo
The collection being processed.
public required CollectionInfo CollectionInfo { get; init; }
Property Value
Error
The exception captured if processing failed; null when Success is true or skipped.
public Exception Error { get; init; }
Property Value
Index
Zero-based index of the current collection in the iteration.
public required int Index { get; init; }
Property Value
Skipped
True when the collection was skipped (e.g. NotInCode).
public required bool Skipped { get; init; }
Property Value
Success
True if the call to RestoreIndexAsync succeeded.
public required bool Success { get; init; }
Property Value
Total
Total number of collections that will be processed.
public required int Total { get; init; }