public WaitNotification NotifyWait() { var notification = new WaitNotification(); notification.StartWaiting(); return(notification); }
private void Notify(string message, NotificationType type = NotificationType.Information, string title = null) { title = string.IsNullOrEmpty(title) ? type.ToString() : title; var content = new NotificationContent() { Title = title, Message = message, Type = type }; WaitNotification.EndWaiting(); _notifyer.Show(content, areaName: "WindowArea"); }