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

Class PermanentContentLinkMapper

Handles conversion between permanent links and classic links for content links.

Inheritance
System.Object
PermanentContentLinkMapper
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
[ServiceConfiguration]
public class PermanentContentLinkMapper : Object, IContentResolverRegistry

Constructors

PermanentContentLinkMapper()

Declaration
public PermanentContentLinkMapper()

Properties

ContentResolvers

Returns all registered resolvers

Declaration
public IEnumerable<IContentResolver> ContentResolvers { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IContentResolver>

Instance

The global permanent content link mapper instance. This is not intended to be set by external code.

Declaration
public static PermanentContentLinkMapper Instance { get; set; }
Property Value
Type Description
PermanentContentLinkMapper

Methods

AddResolver(IContentResolver)

Adds a content resolver to be quieried when resolving content links.

Declaration
public void AddResolver(IContentResolver contentResolver)
Parameters
Type Name Description
IContentResolver contentResolver

The page resolver.

ClearResolvers()

Clears the list of content resolvers.

Declaration
public void ClearResolvers()

RemoveResolver(IContentResolver)

Removes a previously registered resolver.

Declaration
public void RemoveResolver(IContentResolver contentResolver)
Parameters
Type Name Description
IContentResolver contentResolver

The resolver to remove.

Implements

Extension Methods