C# Class IssueTracker.Extensions.HtmlHelperExtensions

Show file Open project: radike/issue-tracker

Public Methods

Method Description
ActivePage ( this helper, string controller, string activeClassName = "active" ) : string
ActivePage ( this helper, string controller, string action, string activeClassName = "active" ) : string
ActivePage ( this helper, string controller, string action, string id, string activeClassName = "active" ) : string
DisplayEnum ( this helper, Enum e ) : System.Web.Mvc.MvcHtmlString

Method Details

ActivePage() public static method

public static ActivePage ( this helper, string controller, string activeClassName = "active" ) : string
helper this
controller string
activeClassName string
return string

ActivePage() public static method

public static ActivePage ( this helper, string controller, string action, string activeClassName = "active" ) : string
helper this
controller string
action string
activeClassName string
return string

ActivePage() public static method

public static ActivePage ( this helper, string controller, string action, string id, string activeClassName = "active" ) : string
helper this
controller string
action string
id string
activeClassName string
return string

DisplayEnum() public static method

public static DisplayEnum ( this helper, Enum e ) : System.Web.Mvc.MvcHtmlString
helper this
e System.Enum
return System.Web.Mvc.MvcHtmlString