Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface IContentUrlResolver

Signature for component that is used to resolve a content instance from an url

Namespace: EPiServer.Core.Routing.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IContentUrlResolver

Methods

Resolve(Uri, UrlResolverOptions)

Resolves a content instance from an url.

Declaration
ContentRouteData Resolve(Uri url, UrlResolverOptions options)
Parameters
Type Name Description
System.Uri url

The url to resolve a content instance from

UrlResolverOptions options

Options that can be used to specify how the url should be resolved

Returns
Type Description
ContentRouteData

A result containing a reference to the resolved content or null if no content could be resolved

Extension Methods