Метод | Описание | |
---|---|---|
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.
|
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 |
public static AbsoluteContent ( this url, string contentPath ) : string | ||
url | this | The URL helper. |
contentPath | string | The content path. |
Результат | string |
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 |