Class PageResolveResult

Holds the returned result from a page mapping from Guid to PageReference or vice versa.

Inheritance
System.Object
PageResolveResult
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.Core
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class PageResolveResult

Constructors

PageResolveResult(Guid, PageReference, Uri)

Initializes a new instance of the PageResolveResult class.

Declaration
public PageResolveResult(Guid pageGuid, PageReference pageLink, Uri pageUri)
Parameters
Type Name Description
System.Guid pageGuid

The page GUID.

PageReference pageLink

The page link.

System.Uri pageUri

The page URI.

Properties

NoMatch

Represents a non-matched result

Declaration
public static PageResolveResult NoMatch { get; }
Property Value
Type Description
PageResolveResult

PageGuid

Gets the page GUID.

Declaration
public Guid PageGuid { get; }
Property Value
Type Description
System.Guid

The page GUID.

Gets the page link.

Declaration
public PageReference PageLink { get; }
Property Value
Type Description
PageReference

The page link.

PageUri

Gets the page URI.

Declaration
public Uri PageUri { get; }
Property Value
Type Description
System.Uri

The page URI.

Remarks

It is expected that this Uri is in the "classic"/internal format. E.g. '/templates/Page.Aspx?id=23' or '/templates/Page.Aspx?id=23_remotesite' (when page is delivered from external system). The Uri is typically constructed by taking the path from the page type and then add the querystring id from the PageReference.

Extension Methods