Class PartialRequestHelper

Class used to process partial requests to subcontrollers

Inheritance
System.Object
PartialRequestHelper
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.Routing
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public class PartialRequestHelper

Constructors

PartialRequestHelper(Object)

Initializes a new instance of the PartialRequestHelper class.

Declaration
public PartialRequestHelper(object routeValues)
Parameters
Type Name Description
System.Object routeValues

An object containing the needed route values.

PartialRequestHelper(RouteValueDictionary)

Initializes a new instance of the PartialRequestHelper class.

Declaration
public PartialRequestHelper(RouteValueDictionary routeValues)
Parameters
Type Name Description
System.Web.Routing.RouteValueDictionary routeValues

A dictionary of route values.

Properties

PreferredNamespace

The preferred namespace where to look for the controller for this partial request.

Declaration
public string PreferredNamespace { get; set; }
Property Value
Type Description
System.String

RouteValues

Gets the route values for this partial request.

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

Methods

Invoke(ControllerContext)

Invokes the partial request.

Declaration
public void Invoke(ControllerContext context)
Parameters
Type Name Description
System.Web.Mvc.ControllerContext context

The controller context for this partial request.