var content = new NotificationContent
{
//ignore other options
LeftButtonAction = () =>
{
// it will display and close instantly, without any exception happened
// but OnDialogClosed is triggered correctly. This is prism's IDialogService
// can't find the reason
dialogService.Show("MessageWindow");
// same problem ,It should be blocked
dialogService.ShowDialog("MessageWindow");
},
};
notificationManager.Show(content);