C# Class BootstrapMvcHelpers.ButtonHelper

Inheritance: IBootstrapComponent
Datei anzeigen Open project: JCherryhomes/BootstrapMvcHelpers Class Usage Examples

Public Methods

Method Description
ButtonHelper ( HtmlHelper helper, IStatusStrategy strategy, string text, string action, string controller, ButtonStatus status, object htmlAttributes ) : System

Initializes a new instance of the ButtonHelper class.

Render ( ) : string

Renders this instance.

Method Details

ButtonHelper() public method

Initializes a new instance of the ButtonHelper class.
public ButtonHelper ( HtmlHelper helper, IStatusStrategy strategy, string text, string action, string controller, ButtonStatus status, object htmlAttributes ) : System
helper HtmlHelper
strategy IStatusStrategy The strategy.
text string The text.
action string
controller string
status ButtonStatus The status.
htmlAttributes object The HTML attributes.
return System

Render() public method

Renders this instance.
public Render ( ) : string
return string