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 IContentResolver

Interface used by PermanentLinkMapStore to resolve a content instance from an identity.

Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IContentResolver

Methods

ResolveContent(ContentReference)

Tries to resolve a Content from a ContentReference.

Declaration
ContentResolveResult ResolveContent(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

The content link.

Returns
Type Description
ContentResolveResult

A ContentResolveResult with the identifiers for the content or null if no content was matched.

ResolveContent(Guid)

Tries to resolve a Content from a Guid identifier.

Declaration
ContentResolveResult ResolveContent(Guid contentGuid)
Parameters
Type Name Description
System.Guid contentGuid

The content GUID.

Returns
Type Description
ContentResolveResult

A ContentResolveResult with the identifiers for the content or null if no content was matched.

Extension Methods