Class RequestContextEventArgs

Inheritance
System.Object
System.EventArgs
RequestContextEventArgs
Inherited Members
System.EventArgs.Empty
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.Web.Routing
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class RequestContextEventArgs : EventArgs

Constructors

RequestContextEventArgs(RequestContext, RouteValueDictionary)

Initializes a new instance of the RequestContextEventArgs class.

Declaration
public RequestContextEventArgs(RequestContext requestContext, RouteValueDictionary routeValues)
Parameters
Type Name Description
System.Web.Routing.RequestContext requestContext

The request context.

System.Web.Routing.RouteValueDictionary routeValues

The route values.

Properties

EPiEditMode

Gets or sets a value indicating whether the request is in edit mode. This value can be set to true to make the routing work as if it is in edit mode.

Declaration
[Obsolete("This support has been removed.")]
public bool EPiEditMode { get; set; }
Property Value
Type Description
System.Boolean

RequestContext

Gets the request context.

Declaration
public RequestContext RequestContext { get; }
Property Value
Type Description
System.Web.Routing.RequestContext

RouteValues

Gets the route values.

Declaration
public RouteValueDictionary RouteValues { get; }
Property Value
Type Description
System.Web.Routing.RouteValueDictionary

Extension Methods