C# Class MvcNavigation.HtmlHelperExtensions

Mostrar archivo Open project: ArnoldZokas/mvcnavigation

Public Methods

Method Description
ActionLink ( this html, INode linkTarget ) : System.Web.Mvc.MvcHtmlString
ActionLink ( this html, LinkedListNode linkTarget ) : System.Web.Mvc.MvcHtmlString
Breadcrumb ( this html ) : System.Web.Mvc.MvcHtmlString
Breadcrumb ( this html, string name ) : System.Web.Mvc.MvcHtmlString
IsAncestorOfCurrentNode ( this html, INode node ) : bool
IsCurrentNode ( this html, INode node ) : bool
Menu ( this html ) : System.Web.Mvc.MvcHtmlString
Menu ( this html, int maxLevels ) : System.Web.Mvc.MvcHtmlString
Menu ( this html, int maxLevels, bool renderAllLevels ) : System.Web.Mvc.MvcHtmlString
Menu ( this html, string name ) : System.Web.Mvc.MvcHtmlString
Menu ( this html, string name, int maxLevels ) : System.Web.Mvc.MvcHtmlString
Menu ( this html, string name, int maxLevels, bool renderAllLevels ) : System.Web.Mvc.MvcHtmlString

Private Methods

Method Description
ConstructBreadcrumbTrail ( HtmlHelper html, INode sitemap ) : LinkedList
FindNode ( INode startNode, bool>.Func predicate ) : INode
GetAdditionalRouteData ( System.Web.Mvc.ViewContext viewContext ) : object>>.IEnumerable
GetContextActionName ( System.Web.Mvc.ViewContext viewContext ) : string
GetContextControllerName ( System.Web.Mvc.ViewContext viewContext ) : string
GetViewContext ( HtmlHelper html ) : System.Web.Mvc.ViewContext
HasMatchingDescendant ( INode currentNode, string contextControllerName, string contextActionName, object>.IEnumerable additionalRouteData, int currentLevel, int maxLevels ) : bool
IsCurrentNode ( INode node, string contextControllerName, string contextActionName, object>.IEnumerable additionalRouteData ) : bool
IsRootNode ( INode node ) : bool

Method Details

ActionLink() public static method

public static ActionLink ( this html, INode linkTarget ) : System.Web.Mvc.MvcHtmlString
html this
linkTarget INode
return System.Web.Mvc.MvcHtmlString

ActionLink() public static method

public static ActionLink ( this html, LinkedListNode linkTarget ) : System.Web.Mvc.MvcHtmlString
html this
linkTarget LinkedListNode
return System.Web.Mvc.MvcHtmlString

Breadcrumb() public static method

public static Breadcrumb ( this html ) : System.Web.Mvc.MvcHtmlString
html this
return System.Web.Mvc.MvcHtmlString

Breadcrumb() public static method

public static Breadcrumb ( this html, string name ) : System.Web.Mvc.MvcHtmlString
html this
name string
return System.Web.Mvc.MvcHtmlString

IsAncestorOfCurrentNode() public static method

public static IsAncestorOfCurrentNode ( this html, INode node ) : bool
html this
node INode
return bool

IsCurrentNode() public static method

public static IsCurrentNode ( this html, INode node ) : bool
html this
node INode
return bool

Menu() public static method

public static Menu ( this html ) : System.Web.Mvc.MvcHtmlString
html this
return System.Web.Mvc.MvcHtmlString

Menu() public static method

public static Menu ( this html, int maxLevels ) : System.Web.Mvc.MvcHtmlString
html this
maxLevels int
return System.Web.Mvc.MvcHtmlString

Menu() public static method

public static Menu ( this html, int maxLevels, bool renderAllLevels ) : System.Web.Mvc.MvcHtmlString
html this
maxLevels int
renderAllLevels bool
return System.Web.Mvc.MvcHtmlString

Menu() public static method

public static Menu ( this html, string name ) : System.Web.Mvc.MvcHtmlString
html this
name string
return System.Web.Mvc.MvcHtmlString

Menu() public static method

public static Menu ( this html, string name, int maxLevels ) : System.Web.Mvc.MvcHtmlString
html this
name string
maxLevels int
return System.Web.Mvc.MvcHtmlString

Menu() public static method

public static Menu ( this html, string name, int maxLevels, bool renderAllLevels ) : System.Web.Mvc.MvcHtmlString
html this
name string
maxLevels int
renderAllLevels bool
return System.Web.Mvc.MvcHtmlString