Class PartialRouter
Encapsulates an instance of IPartialRouter<TContent, TRoutedData>.
Namespace: EPiServer.Core.Routing
Assembly: EPiServer.dll
Version: 12.0.3Syntax
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)
Delegates a request to RoutePartial(TContent, 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 |