SaaS CMS has officially launched! Learn more now.

Interface IContentUrlResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Signature for component that is used to resolve a content instance from an url

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

Methods

Resolve(Uri, UrlResolverOptions)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolves a content instance from an url.

Declaration
ResolvedContent 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
ResolvedContent

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

Extension Methods