Class MessageExtensions
Contains helper methods for rendering HTML for alert messages.
public static class MessageExtensions
- Inheritance
-
objectMessageExtensions
Methods
ErrorMessage(HtmlHelperExtensionPoint, string)
Returns HTML markup with Error message.
public static IHtmlContent ErrorMessage(this HtmlHelperExtensionPoint htmlHelper, string message)
Parameters
htmlHelper
HtmlHelperExtensionPointHtmlHelper extension.
message
stringHTML encoded message.
Returns
- IHtmlContent
InfoMessage(HtmlHelperExtensionPoint, string)
Returns HTML markup with Info message.
public static IHtmlContent InfoMessage(this HtmlHelperExtensionPoint htmlHelper, string message)
Parameters
htmlHelper
HtmlHelperExtensionPointHtmlHelper extension.
message
stringHTML encoded message.
Returns
- IHtmlContent