Interface IContentResolver
Interface used by PermanentLinkMapStore to resolve a content instance from an identity.
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 11.20.7Syntax
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. |