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

Inheritance: IMenuItem
ファイルを表示 Open project: coreframework/Core-Framework

Public Methods

Method 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 method

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

GetUrl() public method

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

IsCurrent() public method

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

RouteLink() public method

public RouteLink ( String title, String routeName ) : System
title String
routeName String
return System

RouteLink() public method

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