Table of Contents

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

Completed int

The number of tasks completed.

Total int

The number of tasks.

StartedTime DateTime

When the run started, in UTC.

Percentage int

The progress, as a percentage.

Properties

Completed

The number of tasks completed.

public int Completed { readonly get; set; }

Property Value

int

Percentage

The progress, as a percentage.

public int Percentage { readonly get; set; }

Property Value

int

StartedTime

When the run started, in UTC.

public DateTime StartedTime { readonly get; set; }

Property Value

DateTime

Total

The number of tasks.

public int Total { readonly get; set; }

Property Value

int