C# Класс EPiUtilities.Filters.PageTypeFilter

A filter class that can filter PageDataCollections to only contain pages of certain type(s).
Наследование: IPageFilter
Показать файл Открыть проект

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

Метод Описание
Filter ( PageDataCollection pages ) : void

Filters the specified collection, removing pages of types not specified in the constructor.

Filter ( object sender, FilterEventArgs e ) : void

Event handler that calls the filter in this filter class.

PageTypeFilter ( IEnumerable pageTypeIds ) : System.Collections.Generic

Creates a new filter that will filter PageDataCollections to only contain pages of the specified type(s).

PageTypeFilter ( int pageTypeId ) : System.Collections.Generic

Creates a new filter that will filter PageDataCollections to only contain pages of the specified type.

ShouldFilter ( PageData page ) : bool

Returns true if the filter will remove this page when filtering a collection.

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

Filter() публичный Метод

Filters the specified collection, removing pages of types not specified in the constructor.
public Filter ( PageDataCollection pages ) : void
pages PageDataCollection
Результат void

Filter() публичный Метод

Event handler that calls the filter in this filter class.
public Filter ( object sender, FilterEventArgs e ) : void
sender object
e FilterEventArgs
Результат void

PageTypeFilter() публичный Метод

Creates a new filter that will filter PageDataCollections to only contain pages of the specified type(s).
public PageTypeFilter ( IEnumerable pageTypeIds ) : System.Collections.Generic
pageTypeIds IEnumerable
Результат System.Collections.Generic

PageTypeFilter() публичный Метод

Creates a new filter that will filter PageDataCollections to only contain pages of the specified type.
public PageTypeFilter ( int pageTypeId ) : System.Collections.Generic
pageTypeId int
Результат System.Collections.Generic

ShouldFilter() публичный Метод

Returns true if the filter will remove this page when filtering a collection.
public ShouldFilter ( PageData page ) : bool
page PageData
Результат bool