C# Class SpeakFriend.Utilities.Pager

Inheritance: IPager
Afficher le fichier Open project: teamaton/speak-lib

Méthodes publiques

Свойство Type Description
QueryExpiredRequests bool

Protected Properties

Свойство Type Description
_currentPage int
_isInSingleItemMode bool
_navigationPagerResultIndex int
_pageSize int

Méthodes publiques

Méthode Description
FirstPage ( ) : void
GetPages ( int totalToShow ) : List

HasNextPage ( ) : bool
HasPreviousPage ( ) : bool
LastPage ( ) : void
NextPage ( ) : void
NextPage ( int amountOfPages ) : void

Flip forward by a positive number of pages.

Pager ( ) : System
PreviousPage ( ) : void
PreviousPage ( int amountOfPages ) : void

Flip backward by a positive number of pages.

SetItemsPerPage ( int itemsPerPage ) : Pager

Private Methods

Méthode Description
GetLowerBoundOfPage ( int page ) : int
GetPages ( int startPage, int totalToShow ) : List
GetUpperBoundOfPage ( int page ) : int

Method Details

FirstPage() public méthode

public FirstPage ( ) : void
Résultat void

GetPages() public méthode

public GetPages ( int totalToShow ) : List
totalToShow int
Résultat List

HasNextPage() public méthode

public HasNextPage ( ) : bool
Résultat bool

HasPreviousPage() public méthode

public HasPreviousPage ( ) : bool
Résultat bool

LastPage() public méthode

public LastPage ( ) : void
Résultat void

NextPage() public méthode

public NextPage ( ) : void
Résultat void

NextPage() public méthode

Flip forward by a positive number of pages.
public NextPage ( int amountOfPages ) : void
amountOfPages int The amount of pages to advance.
Résultat void

Pager() public méthode

public Pager ( ) : System
Résultat System

PreviousPage() public méthode

public PreviousPage ( ) : void
Résultat void

PreviousPage() public méthode

Flip backward by a positive number of pages.
public PreviousPage ( int amountOfPages ) : void
amountOfPages int The amount of page pages to go back.
Résultat void

SetItemsPerPage() public méthode

public SetItemsPerPage ( int itemsPerPage ) : Pager
itemsPerPage int
Résultat Pager

Property Details

QueryExpiredRequests public_oe property

public bool QueryExpiredRequests
Résultat bool

_currentPage protected_oe property

protected int _currentPage
Résultat int

_isInSingleItemMode protected_oe property

protected bool _isInSingleItemMode
Résultat bool

_navigationPagerResultIndex protected_oe property

Is die
protected int _navigationPagerResultIndex
Résultat int

_pageSize protected_oe property

protected int _pageSize
Résultat int