Class HttpContextExtensions

Inheritance
System.Object
HttpContextExtensions
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
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public static class HttpContextExtensions

Methods

GetControllerPath(HttpContext, Type, String)

Declaration
public static string GetControllerPath(this HttpContext context, Type controllerType, string action)
Parameters
Type Name Description
System.Web.HttpContext context
System.Type controllerType
System.String action
Returns
Type Description
System.String

GetControllerPath(HttpContextBase, Type, String)

Declaration
public static string GetControllerPath(this HttpContextBase context, Type controllerType, string action)
Parameters
Type Name Description
System.Web.HttpContextBase context
System.Type controllerType
System.String action
Returns
Type Description
System.String

GetHttpContextBase(HttpContext)

Declaration
public static HttpContextBase GetHttpContextBase(this HttpContext context)
Parameters
Type Name Description
System.Web.HttpContext context
Returns
Type Description
System.Web.HttpContextBase

GetRequestContext(HttpContext)

Declaration
public static RequestContext GetRequestContext(this HttpContext context)
Parameters
Type Name Description
System.Web.HttpContext context
Returns
Type Description
System.Web.Routing.RequestContext