private void AddMessage(FeedbackMessage message) { _messages.Add(message); }
public void AddMessage(FeedbackMessageType type, string content, string title = null) { var message = new FeedbackMessage(type, content, title); AddMessage(message); }