public async Task <IUICommand> ShowAsync(MessageDialog dialog, TimeSpan?timeout = null, CancellationToken?token = null) { return(await DialogManager.OneAtATimeAsync(async() => await dialog.ShowAsync(), timeout, token)); }
/// <summary> /// calls up whether dialogs are currently active through the service /// </summary> /// <returns></returns> public async Task <bool> IsDialogRunning() { return(await DialogManager.IsDialogRunning()); }