Class DefaultPageRouteHelper
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
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.Web.Routing.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public class DefaultPageRouteHelper : DefaultContentRouteHelper, IPageRouteHelper, IContentRouteHelper
Constructors
DefaultPageRouteHelper(RequestContext, RouteCollection, IViewContentRetriever, IContentLoader)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public DefaultPageRouteHelper(RequestContext context, RouteCollection routes, IViewContentRetriever viewContentRetriever, IContentLoader contentLoader)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Routing.RequestContext | context | |
System.Web.Routing.RouteCollection | routes | |
IViewContentRetriever | viewContentRetriever | |
IContentLoader | contentLoader |
Properties
Page
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the current page.
Declaration
public virtual PageData Page { get; }
Property Value
Type | Description |
---|---|
PageData |
Remarks
The property will be set the first time it gets called, and cached for the current instance.
PageLink
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the page link for the current page.
Declaration
public virtual PageReference PageLink { get; }
Property Value
Type | Description |
---|---|
PageReference |
Remarks
Webform pages, inheriting from PageBase, can use the property CurrentPageLink instead of this class, to receive the PageReference of the current web request.