private void ExecuteRemoveUserMessageCommand(UserMessageViewModel message)
 {
     if (message.Flags.HasFlag(MessageFlags.Ignorable) && WindowManager.Confirm(Resx.RemoveUserMessage, Resx.RemoveUserMessageConfirmation))
     {
         _userSettings.IgnoreMessage(message.Message);
     }
     UserMessages.Remove(message);
     if (UserMessages.Count == 0)
     {
         UserMessages.Add(new NoMessagesViewModel());
     }
 }
 private void ExecuteRemoveUserMessageCommand(UserMessageViewModel message)
 {
     if (message.Flags.HasFlag(MessageFlags.Ignorable) && WindowManager.Confirm(Resx.RemoveUserMessage, Resx.RemoveUserMessageConfirmation))
     {
         _userSettings.IgnoreMessage(message.Message);
     }
     UserMessages.Remove(message);
     if (UserMessages.Count == 0) UserMessages.Add(new NoMessagesViewModel());
 }
 public UserMessageCommandParameter(UserMessageViewModel viewModel, MessageCommand command, object parameter)
 {
     ViewModel = viewModel;
     Command = command;
     Parameter = parameter;
 }