Artemis Artemis
Artemis Artemis

Search Results for

    Class PrerequisiteActionProgress

    Represents progress on a plugin prerequisite action

    Inheritance
    object
    CorePropertyChanged
    PrerequisiteActionProgress
    Implements
    IProgress<(long, long)>
    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

    Implements

    IProgress<T>
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.