Class UrlResolverContextExtensions
Extends UrlResolverContext
Inheritance
System.Object
UrlResolverContextExtensions
Namespace: EPiServer.Core.Routing.Pipeline
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class UrlResolverContextExtensions : Object
Methods
GetNextRemainingSegment(UrlResolverContext, String)
Parses the remaing path of the url and returns next unresolved segment
Declaration
public static SegmentPair GetNextRemainingSegment(this UrlResolverContext context, string remainingPath = null)
Parameters
Type | Name | Description |
---|---|---|
UrlResolverContext | context | The context that is being extended |
System.String | remainingPath | The remaining path to use, if null is passed in RemainingPath is used |
Returns
Type | Description |
---|---|
SegmentPair |
GetPartialRoutedObject(UrlResolverContext)
Gets the partial routed object, if any
Declaration
public static object GetPartialRoutedObject(this UrlResolverContext urlResolverContext)
Parameters
Type | Name | Description |
---|---|---|
UrlResolverContext | urlResolverContext |
Returns
Type | Description |
---|---|
System.Object | The partial routed object or null if no object was partially routed |