public static Task AlertAsync(this IUserDialogService dialogs, AlertConfig config) { var tcs = new TaskCompletionSource<object>(); config.OnOk = () => tcs.SetResult(null); dialogs.Alert(config); return tcs.Task; }
public abstract void Alert(AlertConfig config);