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

Inheritance: IMenuItem
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
GetImageUrl ( System.Web.Mvc.UrlHelper urlHelper ) : String

Gets the image URL.

GetUrl ( System.Web.Mvc.UrlHelper urlHelper ) : String

Gets the URL.

IsCurrent ( System.Web.Routing.RequestContext context ) : bool

Determines whether this item corresponds to current page.

RouteLink ( String title, String routeName ) : System
RouteLink ( String title, String image, String routeName ) : System

Method Details

GetImageUrl() public méthode

Gets the image URL.
public GetImageUrl ( System.Web.Mvc.UrlHelper urlHelper ) : String
urlHelper System.Web.Mvc.UrlHelper The URL helper.
Résultat String

GetUrl() public méthode

Gets the URL.
public GetUrl ( System.Web.Mvc.UrlHelper urlHelper ) : String
urlHelper System.Web.Mvc.UrlHelper The URL helper.
Résultat String

IsCurrent() public méthode

Determines whether this item corresponds to current page.
public IsCurrent ( System.Web.Routing.RequestContext context ) : bool
context System.Web.Routing.RequestContext The context.
Résultat bool

RouteLink() public méthode

public RouteLink ( String title, String routeName ) : System
title String
routeName String
Résultat System

RouteLink() public méthode

public RouteLink ( String title, String image, String routeName ) : System
title String
image String
routeName String
Résultat System