C# Class EA.Iws.Web.Infrastructure.Navigation

Datei anzeigen Open project: EnvironmentAgency/prsd-iws

Public Methods

Method Description
Link ( string linkText, bool isComplete, string actionName, string controllerName, RouteValueDictionary routeValues, string additionalActiveActionNames = null ) : System.Web.Mvc.MvcHtmlString
Link ( string linkText, bool isComplete, string actionName, string controllerName, string areaName, string>.Tuple additionalActiveControllerActionNames ) : System.Web.Mvc.MvcHtmlString
Link ( string linkText, bool isComplete, string actionName, string controllerName, string areaName, string additionalActiveActionNames = null ) : System.Web.Mvc.MvcHtmlString

Returns a navigation link

Navigation ( HtmlHelper htmlHelper ) : System

Private Methods

Method Description
GenerateProgressLink ( TagBuilder link, bool isComplete, string linkText ) : System.Web.Mvc.MvcHtmlString
IsActiveItem ( HtmlHelper htmlHelper, string controller, string action, string area, string additionalActiveActionNames = null ) : bool
IsAdditionalControllerAction ( HtmlHelper htmlHelper, string areaName, string>.Tuple additionalActiveControllerActionNames ) : bool
TokenMatches ( HtmlHelper htmlHelper, string item, string dataToken ) : bool
ValueMatches ( HtmlHelper htmlHelper, string item, string dataToken ) : bool

Method Details

Link() public method

public Link ( string linkText, bool isComplete, string actionName, string controllerName, RouteValueDictionary routeValues, string additionalActiveActionNames = null ) : System.Web.Mvc.MvcHtmlString
linkText string
isComplete bool
actionName string
controllerName string
routeValues RouteValueDictionary
additionalActiveActionNames string
return System.Web.Mvc.MvcHtmlString

Link() public method

public Link ( string linkText, bool isComplete, string actionName, string controllerName, string areaName, string>.Tuple additionalActiveControllerActionNames ) : System.Web.Mvc.MvcHtmlString
linkText string
isComplete bool
actionName string
controllerName string
areaName string
additionalActiveControllerActionNames string>.Tuple
return System.Web.Mvc.MvcHtmlString

Link() public method

Returns a navigation link
public Link ( string linkText, bool isComplete, string actionName, string controllerName, string areaName, string additionalActiveActionNames = null ) : System.Web.Mvc.MvcHtmlString
linkText string The text to display in the link
isComplete bool Whether the section is complete. When true, a tick is shown next to the link.
actionName string The name of the action.
controllerName string The name of the controller.
areaName string The name of the area.
additionalActiveActionNames string /// Additional action names that are considered to be the active page for the /// action. ///
return System.Web.Mvc.MvcHtmlString

Navigation() public method

public Navigation ( HtmlHelper htmlHelper ) : System
htmlHelper HtmlHelper
return System