Class DefaultSimpleAddressRouteHandler
Default implementation of ISimpleAddressRouteHandler, which handles simple address in CMS.
Inheritance
System.Object
DefaultSimpleAddressRouteHandler
Implements
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.0Syntax
[ServiceConfiguration(ServiceType = typeof(ISimpleAddressRouteHandler))]
public class DefaultSimpleAddressRouteHandler : ISimpleAddressRouteHandler
Constructors
DefaultSimpleAddressRouteHandler(SiteDefinitionResolver, SimpleAddress, DefaultUrlSegmentRouter)
Initializes a new instance of the DefaultSimpleAddressRouter class.
Declaration
public DefaultSimpleAddressRouteHandler(SiteDefinitionResolver siteDefinitionResolver, SimpleAddress simpleAddressResolver, DefaultUrlSegmentRouter defaultUrlSegmentRouter)
Parameters
Type | Name | Description |
---|---|---|
SiteDefinitionResolver | siteDefinitionResolver | |
SimpleAddress | simpleAddressResolver | |
DefaultUrlSegmentRouter | defaultUrlSegmentRouter |
Methods
GetRouteValues(String, ContentReference, SegmentContext)
Tries to handle a segment value as a simple address.
Declaration
public 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 |
Returns
Type | Description |
---|---|
SimpleAddressRouteValues |
|