public FlashNotificationViewModel(IEventAggregator eventAggregator, ISystemNotification systemNotification)
 {
     _systemNotification = systemNotification;
     eventAggregator.Subscribe(this);
     CloseMessageCommand = new RelayCommand <INotification>(CloseMessage);
     Notifications       = new ObservableCollection <INotification>();
 }
 public UpdateNotification(
     TimeSpan remindInterval,
     ISystemNotification systemNotification,
     UserAuth userAuth,
     IEventAggregator eventAggregator,
     UpdateFlashNotificationViewModel notificationViewModel)
 {
     _systemNotification    = systemNotification;
     _remindInterval        = remindInterval;
     _userAuth              = userAuth;
     _eventAggregator       = eventAggregator;
     _notificationViewModel = notificationViewModel;
 }
Exemple #3
0
 public NotificationSender(ISystemNotification systemNotification, IAppSettings appSettings)
 {
     _systemNotification            = systemNotification;
     _appSettings                   = appSettings;
     _isNativeWindows10Notification = IsNativeWindow10Notification();
 }
 public VpnStateNotification(ISystemNotification systemNotification)
 {
     _systemNotification = systemNotification;
 }
 public SystemNotificationRepoImpl(ISystemNotification iSystemNotification)
 {
     this._iSystemNotification = iSystemNotification;
 }