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