Interface ISimpleAddressRouteHandler
Handles simple address for outgoing requests.
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public interface ISimpleAddressRouteHandler
Methods
GetRouteValues(String, ContentReference, SegmentContext)
Tries to handle a segment value as a simple address.
Declaration
SimpleAddressRouteValues GetRouteValues(string urlSegment, ContentReference routeRoot, SegmentContext segmentContext)
Parameters
Type | Name | Description |
---|---|---|
System.String | urlSegment | The simple address |
ContentReference | routeRoot | The route root |
SegmentContext | segmentContext | The segment context. Note: This should be treated as read-only. Only values of the returned SimpleAddressRouteValues instance will be used. |
Returns
Type | Description |
---|---|
SimpleAddressRouteValues |
|
Remarks
Don't change values on the SegmentContext, they will be lost on subsequent requests when the SimpleAddressRouteValues is cached.