Interface IPageResolver
Interface used by PermanentLinkMapStore to resolve a page
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public interface IPageResolver
Methods
ResolvePage(PageReference, out Guid)
Tries to resolve a Page reference to a page.
Declaration
Uri ResolvePage(PageReference pageLink, out Guid guid)
Parameters
Type | Name | Description |
---|---|---|
PageReference | pageLink | The page link. |
System.Guid | guid | The GUID that the page link resolved to. |
Returns
Type | Description |
---|---|
System.Uri | A System.Uri with the "classic" URL of the resolved page, or null if the GUID was not found. |
ResolvePage(Guid, out PageReference)
Tries to resolve a GUID to a page.
Declaration
Uri ResolvePage(Guid pageGuid, out PageReference pageLink)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | pageGuid | The page GUID. |
PageReference | pageLink | The page link that the GUID resolved to. |
Returns
Type | Description |
---|---|
System.Uri | A System.Uri with the "classic" URL of the resolved page, or null if the GUID was not found. |