C# 클래스 EPiUtilities.Extensions.PageReferenceExtensions

Extension methods for PageReference.
파일 보기 프로젝트 열기: JohannesOstensjo/EPiUtilities

공개 메소드들

메소드 설명
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