Class PrerequisiteActionProgress
Represents progress on a plugin prerequisite action
public class PrerequisiteActionProgress : CorePropertyChanged, IProgress<(long, long)>
- Inheritance
-
PrerequisiteActionProgress
- Implements
Properties
Current
The current amount
public long Current { get; set; }
Property Value
Percentage
The percentage
public double Percentage { get; set; }
Property Value
ProgressPerSecond
Gets or sets the progress per second
public double ProgressPerSecond { get; set; }
Property Value
Total
The total amount
public long Total { get; set; }
Property Value
Methods
OnProgressReported()
Invokes the ProgressReported event
protected virtual void OnProgressReported()
Report((long, long))
Reports a progress update.
public void Report((long, long) value)
Parameters
Events
ProgressReported
Occurs when progress has been reported
public event EventHandler? ProgressReported