C# 클래스 Decision.Common.Extentions.UrlHelperExtensions

UrlHelper extension methods.
파일 보기 프로젝트 열기: rabbal/Decision

공개 메소드들

메소드 설명
AbsoluteAction ( this url, string actionName, string controllerName, object routeValues = null ) : string

Generates a fully qualified URL to an action method by using the specified action name, controller name and route values.

AbsoluteContent ( this url, string contentPath ) : string

Generates a fully qualified URL to the specified content by using the specified content path. Converts a virtual (relative) path to an application absolute path.

AbsoluteRouteUrl ( this url, string routeName, object routeValues = null ) : string

Generates a fully qualified URL to the specified route by using the route name and route values.

메소드 상세

AbsoluteAction() 공개 정적인 메소드

Generates a fully qualified URL to an action method by using the specified action name, controller name and route values.
public static AbsoluteAction ( this url, string actionName, string controllerName, object routeValues = null ) : string
url this The URL helper.
actionName string The name of the action method.
controllerName string The name of the controller.
routeValues object The route values.
리턴 string

AbsoluteContent() 공개 정적인 메소드

Generates a fully qualified URL to the specified content by using the specified content path. Converts a virtual (relative) path to an application absolute path.
public static AbsoluteContent ( this url, string contentPath ) : string
url this The URL helper.
contentPath string The content path.
리턴 string

AbsoluteRouteUrl() 공개 정적인 메소드

Generates a fully qualified URL to the specified route by using the route name and route values.
public static AbsoluteRouteUrl ( this url, string routeName, object routeValues = null ) : string
url this The URL helper.
routeName string Name of the route.
routeValues object The route values.
리턴 string