コード例 #1
0
        public async Task <bool> ShowDialogAsync(ModalDialogViewModelBase dialog)
        {
            ModalDialog = dialog;

            bool res = await ModalDialog.ShowDialogAsync();

            ModalDialog = null;

            return(res);
        }
コード例 #2
0
        public async Task <bool> ShowDialogAsync(ModalDialogViewModelBase dialog)
        {
            ModalDialog = dialog;

            return(await ModalDialog.ShowDialogAsync());
        }