Class DefaultSimpleAddressRouteHandler
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
[ServiceConfiguration(ServiceType = typeof(ISimpleAddressRouteHandler))]
public class DefaultSimpleAddressRouteHandler : ISimpleAddressRouteHandler
Constructors
DefaultSimpleAddressRouteHandler(ISiteDefinitionResolver, IAggregatedSimpleAddressResolver, DefaultUrlSegmentRouter, ITemplateResolver, IContentLoader)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the DefaultSimpleAddressRouter class.
Declaration
public DefaultSimpleAddressRouteHandler(ISiteDefinitionResolver siteDefinitionResolver, IAggregatedSimpleAddressResolver simpleAddressResolver, DefaultUrlSegmentRouter defaultUrlSegmentRouter, ITemplateResolver templateResolver, IContentLoader contentLoader)
Parameters
Type | Name | Description |
---|---|---|
ISiteDefinitionResolver | siteDefinitionResolver | |
IAggregatedSimpleAddressResolver | simpleAddressResolver | |
DefaultUrlSegmentRouter | defaultUrlSegmentRouter | |
ITemplateResolver | templateResolver | |
IContentLoader | contentLoader |
Methods
GetRouteValues(String, ContentReference, SegmentContext)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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 |
|