November Happy Hour will be moved to Thursday December 5th.

Class PartialRouter

Encapsulates an instance of IPartialRouter<TContent, TRoutedData>.

Inheritance
System.Object
PartialRouter
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.Web.Routing
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public abstract class PartialRouter

Constructors

PartialRouter()

Declaration
protected PartialRouter()

Methods

GetPartialVirtualPath(Object, String, RouteValueDictionary, RequestContext)

Declaration
public abstract PartialRouteData GetPartialVirtualPath(object linkedData, string language, RouteValueDictionary routeValues, RequestContext requestContext)
Parameters
Type Name Description
System.Object linkedData

The data to get a url for.

System.String language

The language.

System.Web.Routing.RouteValueDictionary routeValues

The route values.

System.Web.Routing.RequestContext requestContext

The request context.

Returns
Type Description
PartialRouteData

RoutePartial(IContent, SegmentContext)

Declaration
public abstract object RoutePartial(IContent content, SegmentContext segmentContext)
Parameters
Type Name Description
IContent content

The content to extend routing for.

SegmentContext segmentContext

The segment context.

Returns
Type Description
System.Object

Extension Methods