Table of Contents

Struct WorkProgressStep

Namespace
RDCore.SDK.Server.Progress
Assembly
RDCore.SDK.dll

One step of work that reports its progress: what it is doing now, and how much of it is done.

public readonly record struct WorkProgressStep : IEquatable<WorkProgressStep>
Implements
Inherited Members

Constructors

WorkProgressStep(string?, int?)

One step of work that reports its progress: what it is doing now, and how much of it is done.

public WorkProgressStep(string? Message, int? Percentage = null)

Parameters

Message string

What the work is doing now, in a few words; null keeps what was said before.

Percentage int?

How much of the work is done, from 0 to 100; null when that is not known, or keeps what was said before.

Properties

Message

What the work is doing now, in a few words; null keeps what was said before.

public string? Message { get; init; }

Property Value

string

Percentage

How much of the work is done, from 0 to 100; null when that is not known, or keeps what was said before.

public int? Percentage { get; init; }

Property Value

int?