C# Класс SpeakFriend.Utilities.Pager

Наследование: IPager
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
QueryExpiredRequests bool

Защищенные свойства (Protected)

Свойство Тип Описание
_currentPage int
_isInSingleItemMode bool
_navigationPagerResultIndex int
_pageSize int

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

Метод Описание
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

Приватные методы

Метод Описание
GetLowerBoundOfPage ( int page ) : int
GetPages ( int startPage, int totalToShow ) : List
GetUpperBoundOfPage ( int page ) : int

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

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

public FirstPage ( ) : void
Результат void

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

public GetPages ( int totalToShow ) : List
totalToShow int
Результат List

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

public HasNextPage ( ) : bool
Результат bool

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

public HasPreviousPage ( ) : bool
Результат bool

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

public LastPage ( ) : void
Результат void

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

public NextPage ( ) : void
Результат void

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

Flip forward by a positive number of pages.
public NextPage ( int amountOfPages ) : void
amountOfPages int The amount of pages to advance.
Результат void

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

public Pager ( ) : System
Результат System

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

public PreviousPage ( ) : void
Результат void

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

Flip backward by a positive number of pages.
public PreviousPage ( int amountOfPages ) : void
amountOfPages int The amount of page pages to go back.
Результат void

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

public SetItemsPerPage ( int itemsPerPage ) : Pager
itemsPerPage int
Результат Pager

Описание свойств

QueryExpiredRequests публичное свойство

public bool QueryExpiredRequests
Результат bool

_currentPage защищенное свойство

protected int _currentPage
Результат int

_isInSingleItemMode защищенное свойство

protected bool _isInSingleItemMode
Результат bool

_navigationPagerResultIndex защищенное свойство

Is die
protected int _navigationPagerResultIndex
Результат int

_pageSize защищенное свойство

protected int _pageSize
Результат int