C# Class Orchard.UI.Navigation.Pager

显示文件 Open project: ucdavis/Orchard Class Usage Examples

Public Methods

Method Description
GetStartIndex ( int page = null ) : int

Gets the current page start index.

Pager ( ISite site, Orchard.UI.Navigation.PagerParameters pagerParameters ) : Orchard.Settings

Constructs a new pager.

Pager ( ISite site, int page, int pageSize ) : Orchard.Settings

Constructs a new pager.

Method Details

GetStartIndex() public method

Gets the current page start index.
public GetStartIndex ( int page = null ) : int
page int The current page number.
return int

Pager() public method

Constructs a new pager.
public Pager ( ISite site, Orchard.UI.Navigation.PagerParameters pagerParameters ) : Orchard.Settings
site ISite The site settings.
pagerParameters Orchard.UI.Navigation.PagerParameters The pager parameters.
return Orchard.Settings

Pager() public method

Constructs a new pager.
public Pager ( ISite site, int page, int pageSize ) : Orchard.Settings
site ISite The site settings.
page int The page parameter.
pageSize int The page size parameter.
return Orchard.Settings