C# Class MvcNavigation.HtmlHelperExtensions

Afficher le fichier Open project: ArnoldZokas/mvcnavigation

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

ActionLink() public static méthode

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

Breadcrumb() public static méthode

public static Breadcrumb ( this html ) : System.Web.Mvc.MvcHtmlString
html this
Résultat System.Web.Mvc.MvcHtmlString

Breadcrumb() public static méthode

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

IsAncestorOfCurrentNode() public static méthode

public static IsAncestorOfCurrentNode ( this html, INode node ) : bool
html this
node INode
Résultat bool

IsCurrentNode() public static méthode

public static IsCurrentNode ( this html, INode node ) : bool
html this
node INode
Résultat bool

Menu() public static méthode

public static Menu ( this html ) : System.Web.Mvc.MvcHtmlString
html this
Résultat System.Web.Mvc.MvcHtmlString

Menu() public static méthode

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

Menu() public static méthode

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

Menu() public static méthode

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

Menu() public static méthode

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

Menu() public static méthode

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