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

Class PermanentContentLinkMapper

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Handles conversion between permanent links and classic links for content links.

Inheritance
System.Object
PermanentContentLinkMapper
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.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(Lifecycle = ServiceInstanceScope.Singleton)]
[ServiceConfiguration(typeof(IContentResolverRegistry), Lifecycle = ServiceInstanceScope.Singleton)]
public class PermanentContentLinkMapper : IContentResolverRegistry

Constructors

PermanentContentLinkMapper()

Declaration
public PermanentContentLinkMapper()

Properties

ContentResolvers

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

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

Instance

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Clears the list of content resolvers.

Declaration
public void ClearResolvers()

RemoveResolver(IContentResolver)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Removes a previously registered resolver.

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

The resolver to remove.

Implements

Extension Methods