Class AsyncScreenExtensions
public static class AsyncScreenExtensions
- Inheritance
-
AsyncScreenExtensions
- Inherited Members
Methods
HandleProgressAsync(IAsyncScreenModel, Func<IProgress<Status>, Task>)
public static Task HandleProgressAsync(this IAsyncScreenModel vm, Func<IProgress<Status>, Task> f)
Parameters
vmIAsyncScreenModelfFunc<IProgress<Status>, Task>
Returns
LoadAsync(IAsyncScreenModel, CancellationToken)
public static Task LoadAsync(this IAsyncScreenModel asyncModel, CancellationToken cancellationToken = default)
Parameters
asyncModelIAsyncScreenModelcancellationTokenCancellationToken
Returns
Remarks
Do not use this internally; it can deadlock if called from within HandleProgressAsync.
ReportProgress(IAsyncScreenModel, Status)
public static void ReportProgress(this IAsyncScreenModel vm, Status p)
Parameters
vmIAsyncScreenModelpStatus