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

Class PartialRouter

Encapsulates an instance of IPartialRouter<TContent, TRoutedData>.

Inheritance
System.Object
PartialRouter
Namespace: EPiServer.Core.Routing
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public abstract class PartialRouter : Object

Constructors

PartialRouter()

Declaration
protected PartialRouter()

Methods

GetPartialVirtualPath(Object, UrlGeneratorContext)

Delegates a request to the encapsulated GetPartialVirtualPath(TRoutedData, UrlGeneratorContext).

Declaration
public abstract PartialRouteData GetPartialVirtualPath(object linkedData, UrlGeneratorContext urlGeneratorContext)
Parameters
Type Name Description
System.Object linkedData

The data to get a url for.

UrlGeneratorContext urlGeneratorContext

The url generator context.

Returns
Type Description
PartialRouteData

RoutePartial(IContent, UrlResolverContext)

Declaration
public abstract object RoutePartial(IContent content, UrlResolverContext urlResolverContext)
Parameters
Type Name Description
IContent content

The content to extend routing for.

UrlResolverContext urlResolverContext

The url resolver context context.

Returns
Type Description
System.Object

Extension Methods