Struct ProgressStatus
- Namespace
- VpnHood.Net.Toolkit.Monitoring
- Assembly
- VpnHood.Net.Toolkit.dll
Represents the progress of a run of tasks.
public record struct ProgressStatus : IEquatable<ProgressStatus>
- Implements
- Inherited Members
Constructors
ProgressStatus(int, int, DateTime, int)
Represents the progress of a run of tasks.
public ProgressStatus(int Completed, int Total, DateTime StartedTime, int Percentage)
Parameters
CompletedintThe number of tasks completed.
TotalintThe number of tasks.
StartedTimeDateTimeWhen the run started, in UTC.
PercentageintThe progress, as a percentage.
Properties
Completed
The number of tasks completed.
public int Completed { readonly get; set; }
Property Value
Percentage
The progress, as a percentage.
public int Percentage { readonly get; set; }
Property Value
StartedTime
When the run started, in UTC.
public DateTime StartedTime { readonly get; set; }
Property Value
Total
The number of tasks.
public int Total { readonly get; set; }