Skip to content

UploadProgress

Namespace Nfty.Core.Publish.Ipfs in assembly Nfty.Core.

public sealed record UploadProgress

How far an upload has got.

Constructors

UploadProgress(UploadStage, double, string)

public UploadProgress(UploadStage Stage, double Fraction, string Phase);

Parameters

  • Stage (UploadStage) - Which step.
  • Fraction (double) - The whole run, 0..1.
  • Phase (string) - What is happening, as a person would say it.

Properties

Fraction

public double Fraction { get; init; }

The whole run, 0..1.

Phase

public string Phase { get; init; }

What is happening, as a person would say it.

Stage

public UploadStage Stage { get; init; }

Which step.