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

Interface IContentResolverRegistry

Component that handles registration of IContentResolver instances

Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IContentResolverRegistry

Properties

ContentResolvers

Returns all registered resolvers

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

Methods

AddResolver(IContentResolver)

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

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

The page resolver.

ClearResolvers()

Clears the list of content resolvers.

Declaration
void ClearResolvers()

RemoveResolver(IContentResolver)

Removes a previously registered resolver.

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

The resolver to remove.

Extension Methods