Class PartialRouter<TIncoming, TOutgoing>

The concrete typed implementation of PartialRouter.

Inheritance
System.Object
PartialRouter<TIncoming, TOutgoing>
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: 8.11.0
Syntax
public class PartialRouter<TIncoming, TOutgoing> : PartialRouter where TIncoming : class, IContent where TOutgoing : class
Type Parameters
Name Description
TIncoming

The type for which incoming routing is extended.

TOutgoing

The type for which outgoing routing is extended.

Constructors

PartialRouter(IPartialRouter<TIncoming, TOutgoing>)

Initializes a new instance of the PartialRouter<TIncoming, TOutgoing> class.

Declaration
public PartialRouter(IPartialRouter<TIncoming, TOutgoing> partialRouter)
Parameters
Type Name Description
IPartialRouter<TIncoming, TOutgoing> partialRouter

The partial router.

Properties

Router

Gets the encapsulated IPartialRouter<TContent, TRoutedData> instance.

Declaration
public virtual IPartialRouter<TIncoming, TOutgoing> Router { get; }
Property Value
Type Description
IPartialRouter<TIncoming, TOutgoing>

The router.

Methods

GetPartialVirtualPath(Object, String, RouteValueDictionary, RequestContext)

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

The data to create a FURL 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
Overrides

RoutePartial(IContent, SegmentContext)

Delegates the request to encapulated RoutePartial(TContent, SegmentContext).

Declaration
public override object RoutePartial(IContent content, SegmentContext segementContext)
Parameters
Type Name Description
IContent content

The content.

SegmentContext segementContext

The segement context.

Returns
Type Description
System.Object
Overrides

Extension Methods