Class UrlResolverContextExtensions
Extends Url
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 |
---|---|---|
Url |
context | The context that is being extended |
System. |
remainingPath | The remaining path to use, if null is passed in Remaining |
Returns
Type | Description |
---|---|
Segment |
GetPartialRoutedObject(UrlResolverContext)
Gets the partial routed object, if any
Declaration
public static object GetPartialRoutedObject(this UrlResolverContext urlResolverContext)
Parameters
Type | Name | Description |
---|---|---|
Url |
urlResolverContext |
Returns
Type | Description |
---|---|
System. |
The partial routed object or null if no object was partially routed |