コード例 #1
0
        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();
        }
コード例 #2
0
        public Task Show(DialogNotificationOptions options, Action onDialogClosed)
        {
            Showed.Add(options);

            return new Task(() => {});
        }
コード例 #3
0
 public void TestInitialize()
 {
     _subject = new DialogNotificationOptions();    
 }