C# Class Sakura.AspNetCore.DynamicPagedListExtensions

Show file Open project: sgjsakura/AspNetCore

Public Methods

Method Description
GoToFirstPage ( this pagedList ) : void

Move the paged list to the first page.

GoToLastPage ( this pagedList ) : void

Move the paged list to the last page.

GoToNextPage ( this pagedList ) : bool

Move the paged list to the next page.

GoToPreviousPage ( this pagedList ) : bool

Move the paged list to the previous page.

Private Methods

Method Description
CheckArgument ( IDynamicPagedList pagedList ) : void

Check the argument.

Method Details

GoToFirstPage() public static method

Move the paged list to the first page.
is null.
public static GoToFirstPage ( this pagedList ) : void
pagedList this The paged list to be moving.
return void

GoToLastPage() public static method

Move the paged list to the last page.
is null.
public static GoToLastPage ( this pagedList ) : void
pagedList this The paged list to be moving.
return void

GoToNextPage() public static method

Move the paged list to the next page.
is null.
public static GoToNextPage ( this pagedList ) : bool
pagedList this The paged list to be moving.
return bool

GoToPreviousPage() public static method

Move the paged list to the previous page.
is null.
public static GoToPreviousPage ( this pagedList ) : bool
pagedList this The paged list to be moving.
return bool