/// <summary> /// Pushes the user message. /// </summary> /// <param name="messageType">Type of the message.</param> /// <param name="message">The message.</param> public void PushUserMessage(FlashMessage.MessageType messageType, string message) { var flashMessage = new FlashMessage(messageType, message); PushUserMessage(flashMessage); }
private void PushUserMessage(FlashMessage message) { ensureFlashMessagesInitialized(); Stack<FlashMessage> flash = getFlash(); flash.Push(message); }