private async Task ShowDialogAsync(DialogBaseViewModel innerVM, bool canCloseAwayDialog = true) { ShowDialog(innerVM, canCloseAwayDialog); await innerVM.IsDialogOpen; }
private void ShowDialog(DialogBaseViewModel innerVM, bool canCloseAwayDialog = true) { this.DialogContentVM.Value = innerVM; this.CloseOnClickAwayDialog.Value = canCloseAwayDialog; innerVM.IsDialogOpen.Value = true; }