Table of Contents

Class PrerequisiteActionProgress

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

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

long

Percentage

The percentage

public double Percentage { get; set; }

Property Value

double

ProgressPerSecond

Gets or sets the progress per second

public double ProgressPerSecond { get; set; }

Property Value

double

Total

The total amount

public long Total { get; set; }

Property Value

long

Methods

OnProgressReported()

Invokes the ProgressReported event

protected virtual void OnProgressReported()

Report((long, long))

Reports a progress update.

public void Report((long, long) value)

Parameters

value (long, long)

The value of the updated progress.

Events

ProgressReported

Occurs when progress has been reported

public event EventHandler? ProgressReported

Event Type

EventHandler