Class SynchronousProgress<T>
Reports progress updates using callbacks/events. Performs the callbacks immediately on the same thread.
public class SynchronousProgress<T>
Type Parameters
T
- Inheritance
-
objectSynchronousProgress<T>
- Extension Methods
Constructors
SynchronousProgress(Action<T>?)
Captures the current synchronization context for callbacks.
public SynchronousProgress(Action<T>? callback = null)
Parameters
callback
Action<T>
Methods
OnReport(T)
protected void OnReport(T value)
Parameters
value
T
Events
ProgressChanged
Raised for each reported progress value.
public event Action<T>? ProgressChanged
Event Type
- Action<T>