November Happy Hour will be moved to Thursday December 5th.

Class SimpleAddressSegmentRouter

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. A structure implementation over simple addresses.

Inheritance
System.Object
SimpleAddressSegmentRouter
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.Segments.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class SimpleAddressSegmentRouter : DefaultUrlSegmentRouter, IUrlSegmentRouter

Constructors

SimpleAddressSegmentRouter(IContentRepository, AncestorReferencesLoader, Func<SiteDefinition, ContentReference>, IRoutingSegmentLoader, SimpleAddressSegmentCache, IEnumerable<ISimpleAddressRouteHandler>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the SimpleAddressSegmentRouter class.

Declaration
public SimpleAddressSegmentRouter(IContentRepository contentRepository, AncestorReferencesLoader ancestorRequestCachedLoader, Func<SiteDefinition, ContentReference> rootResolver, IRoutingSegmentLoader routingSegmentLoader, SimpleAddressSegmentCache simpleAddressSegmentCache, IEnumerable<ISimpleAddressRouteHandler> simpleAddressRouters)
Parameters
Type Name Description
IContentRepository contentRepository

The content repository.

AncestorReferencesLoader ancestorRequestCachedLoader

The ancestor request cached loader.

System.Func<SiteDefinition, ContentReference> rootResolver

The root resolver.

IRoutingSegmentLoader routingSegmentLoader

The routing segment loader.

SimpleAddressSegmentCache simpleAddressSegmentCache

The simple address cache.

System.Collections.Generic.IEnumerable<ISimpleAddressRouteHandler> simpleAddressRouters

The simple address resolvers.

SimpleAddressSegmentRouter(Func<SiteDefinition, ContentReference>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a a SimpleAddressSegmentRouter with required parameters.

Declaration
public SimpleAddressSegmentRouter(Func<SiteDefinition, ContentReference> rootResolver)
Parameters
Type Name Description
System.Func<SiteDefinition, ContentReference> rootResolver

The root resolver.

Methods

ResolveContentForIncoming(ContentReference, String, SegmentContext)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolve a contentlink which match urlsegment.

Declaration
public override ContentReference ResolveContentForIncoming(ContentReference contentlink, string urlSegment, SegmentContext context)
Parameters
Type Name Description
ContentReference contentlink

The contentlink.

System.String urlSegment

The url.

SegmentContext context

The segment context.

Returns
Type Description
ContentReference

The resolved content link

Overrides

Implements

Extension Methods