Class FriendlyUrlHelperExtensions
- Namespace
- Umbraco.Extensions
- Assembly
- Umbraco.Web.Common.dll
public static class FriendlyUrlHelperExtensions
- Inheritance
-
FriendlyUrlHelperExtensions
- Inherited Members
Methods
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
public static string SurfaceAction(this IUrlHelper url, string action, string controllerName)
Parameters
url
IUrlHelperaction
stringcontrollerName
string
Returns
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
public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, object additionalRouteVals)
Parameters
url
IUrlHelperaction
stringcontrollerName
stringadditionalRouteVals
object
Returns
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
public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, string area, object additionalRouteVals)
Parameters
url
IUrlHelperaction
stringcontrollerName
stringarea
stringadditionalRouteVals
object