November Happy Hour will be moved to Thursday December 5th.

Class PageDataEnumerableExtensions

Contains extension methods for System.Collections.Generic.IEnumerable<T>

Inheritance
System.Object
PageDataEnumerableExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public static class PageDataEnumerableExtensions

Methods

Filter(IEnumerable<PageData>, IPageFilter)

Filters the specified pages using the given page filter.

Declaration
public static IEnumerable<PageData> Filter(this IEnumerable<PageData> pages, IPageFilter filter)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<PageData> pages

The collection of pages to filter.

IPageFilter filter

The filter to apply to the collection.

Returns
Type Description
System.Collections.Generic.IEnumerable<PageData>

A filtered collection of PageData objects.