C# Class Core.Web.Areas.Admin.Helpers.MenuExtension

Extends HtmlHelper functionality to render admin main menu.
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
RenderMenu ( this html, System.Web.Mvc.UrlHelper url, HttpContext context ) : System.Web.Mvc.MvcHtmlString

Renders admin area main menu.

Private Methods

Méthode Description
InitializeMenu ( HttpContext context, HtmlHelper html ) : IEnumerable>.Dictionary
RenderMenuItems ( HtmlHelper html, System.Web.Mvc.UrlHelper url, IEnumerable items ) : String
RenderSection ( HtmlHelper html, System.Web.Mvc.UrlHelper url, String title, IEnumerable items, bool isCurrent, int number ) : String
RenderSectionHeader ( System.Web.Mvc.UrlHelper url, String title, bool isCurrent, int number, IMenuItem item ) : String
RenderSectionsList ( HtmlHelper html, System.Web.Mvc.UrlHelper url, Dictionary items, String activeSection ) : String

Method Details

RenderMenu() public static méthode

Renders admin area main menu.
public static RenderMenu ( this html, System.Web.Mvc.UrlHelper url, HttpContext context ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
url System.Web.Mvc.UrlHelper The URL helper.
context System.Web.HttpContext The context.
Résultat System.Web.Mvc.MvcHtmlString