public WpfPredefinedToastNotification(WpfPredefinedToastNotificationContent content, CustomNotifier notifier)
 {
     this.toast    = new CustomNotification(content.ViewModel, notifier);
     this.content  = content;
     this.notifier = notifier;
     this.notifier.ContentTemplate = NotificationServiceTemplatesHelper.PredefinedToastTemplate;
 }
 public WpfToastNotificationFactory(CustomNotifier notifier)
 {
     this.notifier = notifier;
 }
示例#3
0
 public WpfToastNotificationFactory()
 {
     this.notifier = new CustomNotifier();
     this.notifier.UpdatePositioner(NotificationPosition.TopRight, 3);
 }