Geta.EPi.Extensions : API Documentation

Type LinkItemCollectionExtensions

Namespace Geta.EPi.Extensions

LinkItemCollection extensions.

Methods

Public static methods

IEnumerable<T> ToEnumerable<T>(this LinkItemCollection linkItemCollection)

Returns a sequence with all the EPiServer pages of given type in a LinkItemCollection
Parameters
LinkItemCollection linkItemCollection
Source LinkItemCollection to look for EPiServer pages.
Returns
IEnumerable<T>
Sequence of the EPiServer pages of type in a LinkItemCollection

PageDataCollection ToPageDataCollection(this LinkItemCollection linkItemCollection)

Returns a PageDataCollection with all the EPiServer pages from a LinkItemCollection.
Parameters
LinkItemCollection linkItemCollection
Source LinkItemCollection to look for EPiServer pages.
Returns
PageDataCollection
PageDataCollection with EPiServer pages from a LinkItemCollection.