Class PrerequisiteActionProgress
Represents progress on a plugin prerequisite action
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class PrerequisiteActionProgress : CorePropertyChanged, IProgress<(long, long)>
Constructors
PrerequisiteActionProgress()
Declaration
public PrerequisiteActionProgress()
Properties
Current
The current amount
Declaration
public long Current { get; set; }
Property Value
Type | Description |
---|---|
long |
Percentage
The percentage
Declaration
public double Percentage { get; set; }
Property Value
Type | Description |
---|---|
double |
ProgressPerSecond
Gets or sets the progress per second
Declaration
public double ProgressPerSecond { get; set; }
Property Value
Type | Description |
---|---|
double |
Total
The total amount
Declaration
public long Total { get; set; }
Property Value
Type | Description |
---|---|
long |
Methods
OnProgressReported()
Invokes the ProgressReported event
Declaration
protected virtual void OnProgressReported()
Report((long, long))
Declaration
public void Report((long, long) value)
Parameters
Type | Name | Description |
---|---|---|
(long, long) | value |
Events
ProgressReported
Occurs when progress has been reported
Declaration
public event EventHandler? ProgressReported
Event Type
Type | Description |
---|---|
EventHandler |