NanoByte.Common  2.4.2
Public Member Functions | List of all members
NanoByte.Common.Tasks.IProgress< T > Interface Template Reference

Defines a provider for progress updates. More...

Inheritance diagram for NanoByte.Common.Tasks.IProgress< T >:
NanoByte.Common.Tasks.Progress< T > NanoByte.Common.Tasks.SynchronousProgress< T >

Public Member Functions

void Report (T value)
 Reports a progress update. More...

Detailed Description

Defines a provider for progress updates.

Implementations should derive from MarshalByRefObject.

Unlike the built-in Progress type of .NET implementations of the NanoByte.Common variant should derive from MarshalByRefObject to support remoting.

Template Parameters
TThe type of progress update value.

Member Function Documentation

◆ Report()

void NanoByte.Common.Tasks.IProgress< T >.Report ( value)

Reports a progress update.

valueThe value of the updated progress.

May be called from background/worker threads. Callee must perform thread marshaling as needed.

The documentation for this interface was generated from the following file: