A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface ICurrentPage<T>

Defines the availability of a strongly typed CurrentPage property.

Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public interface ICurrentPage<T> : ICurrentPage where T : PageData
Type Parameters
Name Description
T

The System.Type linked to the PageType of the CurrentPage property.

Properties

CurrentPage

Gets or sets the current PageData of type T.

Declaration
T CurrentPage { get; set; }
Property Value
Type Description
T

The current PageDataof type T.

Extension Methods