VSTalk.Engine.ViewModel.NotificationViewModel.NotificationViewModel C# (CSharp) Method

NotificationViewModel() public method

public NotificationViewModel ( ) : System.Collections.Specialized
return System.Collections.Specialized
        public NotificationViewModel()
        {
            Notifications = AppServices.Get<INotificationQueue>();
            CurrentMessageIndex = 1;
            HasNotifications = Notifications.Messages.Count > 0;

            GoToNextMessage = new RelayCommand(GoToNextMessageExecuted, GoToNextMessageCanExecute);
            GoToPrevMessage = new RelayCommand(GoToPrevMessageExecuted, GoToPrevMessageCanExecute);

            ConfirmCommand = new RelayCommand(ConfirmCommandExecuted, ConfirmCommandCanExecute);
            RejectCommand = new RelayCommand(RejectCommandExecuted, RejectCommandCanExecute);

            HideControl = new RelayCommand(HideControlExecuted);
        }