PublishedPageExtensions Class

PublishedPageExtensions Class

public static class PublishedPageExtensions

Inheritance  Object PublishedPageExtensions

Methods

Name Description
AbsoluteUrl(IPublishedPage, CultureInfo, Dictionary<string, string>) Gets the page's absolute url for the specified culture. The absolute url always starts with a slash (/) and does not contain scheme or host parts.
AncestorsAsync(IPublishedPage)
ChildrenAsync(IPublishedPage)
ChildrenAsync<TModel>(IPublishedPage, Func<TModel, bool>)
DescendantsAsync(IPublishedPage)
DescendantsAsync<TModel>(IPublishedPage, Func<TModel, bool>)
ModelAsync<TModel>(IPublishedPage, CultureInfo) Gets the page's strongly typed view model for the specified culture.
NextSiblingAsync(IPublishedPage)
ParentAsync(IPublishedPage)
PreviousSiblingAsync(IPublishedPage)
SiblingsAsync(IPublishedPage, bool)
Uri(IPublishedPage, CultureInfo, Dictionary<string, string>) Gets the fully qualified uri for a page, based on the site's primary hostname (which may be different from the current request hostname).