C# Class EPiUtilities.Extensions.PageExtensions

Extension methods for Page.
Show file Open project: JohannesOstensjo/EPiUtilities

Public Methods

Method Description
ToCurrentPage ( this page ) : PageData

Attempts to get the current EPiServer page from the Page object. Returns null if current page is not an EPiServer page.

Method Details

ToCurrentPage() public static method

Attempts to get the current EPiServer page from the Page object. Returns null if current page is not an EPiServer page.
public static ToCurrentPage ( this page ) : PageData
page this
return PageData