public void DialogShow(DialogVMBase viewModel) { if (DialogShown != null) { EventArgs <DialogVMBase> args = new EventArgs <DialogVMBase>(viewModel); Dispatcher.Invoke(() => DialogShown(args)); } }
public DialogInfo(DialogVMBase dialog) { DialogName = dialog.GetType().Name; }