C# Class EPiUtilities.Extensions.PageReferenceExtensions

Extension methods for PageReference.
Afficher le fichier Open project: JohannesOstensjo/EPiUtilities

Méthodes publiques

Méthode Description
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.

Method Details

Children() public static méthode

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
Résultat PageDataCollection

ChildrenForVisitor() public static méthode

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
Résultat PageDataCollection

IsNullOrEmpty() public static méthode

Checks whether the reference is null or empty. Uses PageReferences own static method.
public static IsNullOrEmpty ( this reference ) : bool
reference this
Résultat bool

IsResolvable() public static méthode

Returns true if the reference can be resolved to a PageData.
public static IsResolvable ( this reference ) : bool
reference this
Résultat bool

ToPageData() public static méthode

Returns the PageData this reference points to, or null if the reference is invalid.
public static ToPageData ( this reference ) : PageData
reference this
Résultat PageData