Class UrlHelperExtensions
Extension methods for the System.Web.Mvc.UrlHelper class.
Inheritance
System.Object
UrlHelperExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Web.UI
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
public static class UrlHelperExtensions
Methods
Action(UrlHelper, String, String, RouteValueDictionary, Uri)
Generates a fully qualified URL for an action method by using the specified action name, controller name, route values and base URL.
Declaration
public static string Action(this UrlHelper urlHelper, string actionName, string controllerName, RouteValueDictionary routeValues, Uri baseUri)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.UrlHelper | urlHelper | The URL helper. |
System.String | actionName | The name of the action method. |
System.String | controllerName | Name of the controller. |
System.Web.Routing.RouteValueDictionary | routeValues | An object that contains the parameters for a route. |
System.Uri | baseUri | The base URI. |
Returns
Type | Description |
---|---|
System.String | The fully qualified URL to an action method. |