Class PartialRouter
Encapsulates an instance of IPartialRouter<TContent, TRoutedData>.
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.4Syntax
public abstract class PartialRouter
Constructors
PartialRouter()
Declaration
protected PartialRouter()
Methods
GetPartialVirtualPath(Object, String, RouteValueDictionary, RequestContext)
Delegates a request to the encapsulated GetPartialVirtualPath(TRoutedData, 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)
Delegates a request to RoutePartial(TContent, 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 |