C# Класс EPiUtilities.Extensions.PageReferenceExtensions

Extension methods for PageReference.
Показать файл Открыть проект

Открытые методы

Метод Описание
Children ( this reference ) : PageDataCollection

Returns the children of the referenced page. Returns an empty collection if the reference is not resolvable.

ChildrenForVisitor ( this reference ) : PageDataCollection

Returns the children of the referenced page filtered for visitor. Returns an empty collection if the reference is not resolvable.

IsNullOrEmpty ( this reference ) : bool

Checks whether the reference is null or empty. Uses PageReferences own static method.

IsResolvable ( this reference ) : bool

Returns true if the reference can be resolved to a PageData.

ToPageData ( this reference ) : PageData

Returns the PageData this reference points to, or null if the reference is invalid.

Описание методов

Children() публичный статический Метод

Returns the children of the referenced page. Returns an empty collection if the reference is not resolvable.
public static Children ( this reference ) : PageDataCollection
reference this
Результат PageDataCollection

ChildrenForVisitor() публичный статический Метод

Returns the children of the referenced page filtered for visitor. Returns an empty collection if the reference is not resolvable.
public static ChildrenForVisitor ( this reference ) : PageDataCollection
reference this
Результат PageDataCollection

IsNullOrEmpty() публичный статический Метод

Checks whether the reference is null or empty. Uses PageReferences own static method.
public static IsNullOrEmpty ( this reference ) : bool
reference this
Результат bool

IsResolvable() публичный статический Метод

Returns true if the reference can be resolved to a PageData.
public static IsResolvable ( this reference ) : bool
reference this
Результат bool

ToPageData() публичный статический Метод

Returns the PageData this reference points to, or null if the reference is invalid.
public static ToPageData ( this reference ) : PageData
reference this
Результат PageData