Пример #1
0
        public NotificationClient(LocalServiceFactory serviceFactory)
        {
            notifications = new Notifications(
                serviceFactory.EventAggregator,
                serviceFactory.NotificationFactory);

            windowManager = serviceFactory.NotificationWindowManager;
        }
 public LocalNotificationService(
     LocalServiceFactory serviceFactory,
     Dispatcher dispatcher)
 {
     notificationService = new NotificationService(() => serviceFactory.NotificationWindowManager, dispatcher);
 }