Table of Contents

Class InlineProgress<T>

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

Reports on the thread that called it, at once. Progress<T> posts to the thread's synchronization context instead, so a late message can land after the line that was written to say the work finished.

public sealed class InlineProgress<T> : IProgress<T>

Type Parameters

T

What is reported.

Inheritance
InlineProgress<T>
Implements
Inherited Members

Constructors

InlineProgress(Action<T>)

public InlineProgress(Action<T> handler)

Parameters

handler Action<T>

Called for every report, on the reporting thread.

Methods

Report(T)

Reports a progress update.

public void Report(T value)

Parameters

value T

The value of the updated progress.