namespace SharepointToolbox.Core.Models;

public record OperationProgress(int Current, int Total, string Message, bool IsIndeterminate = false)
{
    public static OperationProgress Indeterminate(string message) =>
        new(0, 0, message, IsIndeterminate: true);
}
