C# Class Project.Web.App.Helpers.HtmlHelpers_Buttons

ファイルを表示 Open project: tylermercier/mvc_template

Public Methods

Method Description
DangerButton ( this html, string text, string id = "submitButton" ) : IHtmlString
DefaultButton ( this html, string text, string id = "submitButton" ) : IHtmlString
DeleteButton ( this html, string text, string id = "submitButton" ) : IHtmlString
InfoButton ( this html, string text, string id = "submitButton" ) : IHtmlString
PrimaryButton ( this html, string text, string id = "submitButton" ) : IHtmlString
ResetButton ( this html, string text, string id = "submitButton" ) : IHtmlString
SuccessButton ( this html, string text, string id = "submitButton" ) : IHtmlString
WarningButton ( this html, string text, string id = "submitButton" ) : IHtmlString

Private Methods

Method Description
ButtonBase ( string text, string id, string type ) : IHtmlString

Method Details

DangerButton() public static method

public static DangerButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString

DefaultButton() public static method

public static DefaultButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString

DeleteButton() public static method

public static DeleteButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString

InfoButton() public static method

public static InfoButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString

PrimaryButton() public static method

public static PrimaryButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString

ResetButton() public static method

public static ResetButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString

SuccessButton() public static method

public static SuccessButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString

WarningButton() public static method

public static WarningButton ( this html, string text, string id = "submitButton" ) : IHtmlString
html this
text string
id string
return IHtmlString