View Source
Class FriendlyUrlHelperExtensions
Inheritance
System.Object
Assembly: Umbraco.Web.Common.dll
Syntax
public static class FriendlyUrlHelperExtensions
Methods
View Source
SurfaceAction(IUrlHelper, String, String)
Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified
SurfaceController
Declaration
public static string SurfaceAction(this IUrlHelper url, string action, string controllerName)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.IUrlHelper |
url |
|
System.String |
action |
|
System.String |
controllerName |
|
Returns
Type |
Description |
System.String |
|
View Source
SurfaceAction(IUrlHelper, String, String, Object)
Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified
SurfaceController
Declaration
public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, object additionalRouteVals)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.IUrlHelper |
url |
|
System.String |
action |
|
System.String |
controllerName |
|
System.Object |
additionalRouteVals |
|
Returns
Type |
Description |
System.String |
|
View Source
SurfaceAction(IUrlHelper, String, String, String, Object)
Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified
SurfaceController
Declaration
public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, string area, object additionalRouteVals)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.IUrlHelper |
url |
|
System.String |
action |
|
System.String |
controllerName |
|
System.String |
area |
|
System.Object |
additionalRouteVals |
|
Returns
Type |
Description |
System.String |
|