C# Class NavigationRoutes.NavigationViewExtensions

ファイルを表示 Open project: samjeffress/TrickleComms

Public Methods

Method Description
GetRoutesForCurrentRequest ( RouteCollection routes, IEnumerable routeFilters ) : IEnumerable
Navigation ( this helper ) : IHtmlString
NavigationListItemRouteLink ( this html, NavigationRoutes.NamedRoute route ) : System.Web.Mvc.MvcHtmlString

Private Methods

Method Description
CurrentRouteMatchesName ( HtmlHelper html, string routeName ) : bool

Method Details

GetRoutesForCurrentRequest() public static method

public static GetRoutesForCurrentRequest ( RouteCollection routes, IEnumerable routeFilters ) : IEnumerable
routes RouteCollection
routeFilters IEnumerable
return IEnumerable

Navigation() public static method

public static Navigation ( this helper ) : IHtmlString
helper this
return IHtmlString

NavigationListItemRouteLink() public static method

public static NavigationListItemRouteLink ( this html, NavigationRoutes.NamedRoute route ) : System.Web.Mvc.MvcHtmlString
html this
route NavigationRoutes.NamedRoute
return System.Web.Mvc.MvcHtmlString