mscorlib(4.0.0.0) API with additions
|
Provides an T:System.IProgress`1 that invokes callbacks for each reported progress value. More...
Public Member Functions | |
Progress () | |
Initializes the T:System.Progress`1 object. More... | |
Progress (Action< T > handler) | |
Initializes the T:System.Progress`1 object with the specified callback. More... | |
![]() | |
void | Report (T value) |
Reports a progress update. More... | |
Protected Member Functions | |
virtual void | OnReport (T value) |
Reports a progress change. More... | |
Events | |
EventHandler< T > | ProgressChanged |
Raised for each reported progress value. More... | |
Provides an T:System.IProgress`1 that invokes callbacks for each reported progress value.
T | Specifies the type of the progress report value. |
Definition at line 8 of file Progress.cs.
System.Progress< T >.Progress | ( | ) |
Initializes the T:System.Progress`1 object.
Definition at line 23 of file Progress.cs.
System.Progress< T >.Progress | ( | Action< T > | handler | ) |
Initializes the T:System.Progress`1 object with the specified callback.
handler | A handler to invoke for each reported progress value. This handler will be invoked in addition to any delegates registered with the E:System.Progress`1.ProgressChanged event. Depending on the T:System.Threading.SynchronizationContext instance captured by the T:System.Progress`1 at construction, it is possible that this handler instance could be invoked concurrently with itself. |
Definition at line 32 of file Progress.cs.
|
protectedvirtual |
Reports a progress change.
value | The value of the updated progress. |
Definition at line 45 of file Progress.cs.
EventHandler<T> System.Progress< T >.ProgressChanged |
Raised for each reported progress value.
Definition at line 19 of file Progress.cs.