Exemple #1
0
        public UpdateNotification(
            Common.Configuration.Config appConfig,
            IEventAggregator eventAggregator,
            UpdateFlashNotificationViewModel notificationViewModel)
        {
            _eventAggregator       = eventAggregator;
            _notificationViewModel = notificationViewModel;

            _remindInterval = appConfig.UpdateRemindInterval;
        }
 public UpdateNotification(
     TimeSpan remindInterval,
     ISystemNotification systemNotification,
     UserAuth userAuth,
     IEventAggregator eventAggregator,
     UpdateFlashNotificationViewModel notificationViewModel)
 {
     _systemNotification    = systemNotification;
     _remindInterval        = remindInterval;
     _userAuth              = userAuth;
     _eventAggregator       = eventAggregator;
     _notificationViewModel = notificationViewModel;
 }