public async Task Show(DialogNotificationOptions options) { var dialog = new MessageDialog(options.Message); foreach (var possibleAction in options.PossibleActions) { dialog.Commands.Add(new UICommandAdapter(possibleAction)); } await dialog.ShowAsync(); }
public Task Show(DialogNotificationOptions options, Action onDialogClosed) { Showed.Add(options); return new Task(() => {}); }
public void TestInitialize() { _subject = new DialogNotificationOptions(); }