ProgressMonitor

Description

sealed class Tinman.Core.Threading.Operations.ProgressMonitor

Derived from

Disposable abstract
IProgressMonitor

Default implementation of the IProgressMonitor interface.

Public / Constructors

Progress​Monitor


public constructor ProgressMonitor → ()

Creates a new instance of ProgressMonitor.

Public / Methods

Error

2 overloads


[ThreadSafe]
public method Error1 → ()

returns → TinmanError

The last error.

Returns the last error that has been reported.

The last error will be reset to null.

Public / Attributes

Progress


[ThreadSafe]
public attribute Progress → (get)

value : Pair<int64, int64>

The number of finished ticks (see Pair.First) and the number of ticks in total (see Pair.Second). The number of finished ticks will always be less than or equal to the number of ticks in total. Both tick counts will always be greater than or equal to zero.

Returns a snapshot of the current progress.