C# 클래스 EPiUtilities.Filters.PagerFilter

A filter which filters the collection to only contain the pages in a given page given a page size and page number.
상속: IPageFilter
파일 보기 프로젝트 열기: JohannesOstensjo/EPiUtilities

공개 메소드들

메소드 설명
Filter ( PageDataCollection pages ) : void

Filters the collection, leaving only the pages which correspond to the given page number and size.

Filter ( object sender, FilterEventArgs e ) : void

Event handler that calls the filter in this filter class.

PagerFilter ( int pageSize, int pageNumber ) : System

Creates a filter which filters a PageDataCollection for a pager given the size and number of the page. pageNumber must be 1 or larger, it is not zero based.

ShouldFilter ( System.PageData page ) : bool

Not implemented, as this filter only applies to collection contexts.

메소드 상세

Filter() 공개 메소드

Filters the collection, leaving only the pages which correspond to the given page number and size.
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

PagerFilter() 공개 메소드

Creates a filter which filters a PageDataCollection for a pager given the size and number of the page. pageNumber must be 1 or larger, it is not zero based.
public PagerFilter ( int pageSize, int pageNumber ) : System
pageSize int
pageNumber int
리턴 System

ShouldFilter() 공개 메소드

Not implemented, as this filter only applies to collection contexts.
public ShouldFilter ( System.PageData page ) : bool
page System.PageData
리턴 bool