SaaS CMS has officially launched! Learn more now.

Class PageInfo

Conveys and stores information about a selected page.

Inheritance
System.Object
PageInfo
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
public class PageInfo : Object

Constructors

PageInfo()

Initializes a new instance of the PageInfo class.

Declaration
public PageInfo()

PageInfo(IContentRepository, IPermanentLinkMapper)

Initializes a new instance of the PageInfo class.

Declaration
public PageInfo(IContentRepository contentRepository, IPermanentLinkMapper permanentLinkMapper)
Parameters
Type Name Description
IContentRepository contentRepository

The page repository.

IPermanentLinkMapper permanentLinkMapper

The permanent link mapper.

Properties

Id

Gets or sets the database identifier of this model.

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

PageGuid

Gets or sets the page GUID.

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

The page GUID.

The PageReference string representation of the selected page.

Declaration
public string PageLink { get; set; }
Property Value
Type Description
System.String

PageName

The name of the selected page.

Declaration
public string PageName { get; set; }
Property Value
Type Description
System.String

Extension Methods