public async Task <bool> ShowDialog(string text) { if (presenter != null) { return(await Task.Run(() => presenter.ShowDialog("Dang!", text))); } else { return(false); } }
public void Show() { _dialogPresenter.ShowDialog(this); }
public async Task HandleFatal(Exception ex) { var dialog = new DialogViewModel <ExceptionDialogContentViewModel>(new ExceptionDialogContentViewModel(ex), new FatalDialogButtonViewModel(_closeAppAction)); await _dialogPresenter.ShowDialog(dialog); }