Пример #1
0
        public async Task <bool> ShowAcceptDialogAsync(string text)
        {
            var viewModel = _dialogFactory.CreateAcceptDialogViewModel();

            viewModel.Text = text;

            var view = _viewManager.CreateAndBindViewForModelIfNecessary(viewModel);

            return((bool)await DialogHost.Show(view));
        }