C# Class BetterCms.Module.Root.Mvc.Helpers.MessagesHelper

Messages helper methods.
Show file Open project: devbridge/BetterCMS

Public Methods

Method Description
CustomMessagesBox ( this html, IMessagesIndicator messages, string id = null, string>.IDictionary attributes = null ) : IHtmlString
MessagesBox ( this html, string id = null, string>.IDictionary attributes = null ) : IHtmlString

Private Methods

Method Description
AddMessagesBoxBlock ( StringBuilder sb, string blockClass, IList messages ) : void

Adds messages block to a messages box.

MessagesBox ( this html, string id, string>.IDictionary attributes, string cssClass, IMessagesIndicator messages = null ) : IHtmlString

Renders messages box with given id.

Method Details

CustomMessagesBox() public static method

public static CustomMessagesBox ( this html, IMessagesIndicator messages, string id = null, string>.IDictionary attributes = null ) : IHtmlString
html this
messages IMessagesIndicator
id string
attributes string>.IDictionary
return IHtmlString

MessagesBox() public static method

public static MessagesBox ( this html, string id = null, string>.IDictionary attributes = null ) : IHtmlString
html this
id string
attributes string>.IDictionary
return IHtmlString