C# Class Ifa.Model.PaginationBuilder

ファイルを表示 Open project: kibiluzbad/Ifa Class Usage Examples

Protected Properties

Property Type Description
_pagedResult PagedResultBase
_pagination ICollection
_urlAction Func

Public Methods

Method Description
BuildFirstPageLink ( ) : void
BuildLastPageLink ( ) : void
BuildNextPageLink ( ) : void
BuildPageLinks ( ) : void
BuildPreviousPageLink ( ) : void

Protected Methods

Method Description
CreateCurrentPageLink ( int i ) : Tag
CreateNoPage ( ) : Gap
CreatePageLink ( int i ) : Tag
HasPages ( ) : bool
InsideWindow ( int currentPage, int page, int window ) : bool
IsNotFirstPage ( ) : bool
IsNotLastPage ( ) : bool
LastPageWasNotTruncated ( ) : bool
LeftOuter ( int page, int left ) : bool
PaginationBuilder ( ) : System
PaginationBuilder ( PagedResultBase pagedResult, Func urlAction ) : System
RightOuter ( int pages, int page, int right ) : bool

Method Details

BuildFirstPageLink() public abstract method

public abstract BuildFirstPageLink ( ) : void
return void

BuildLastPageLink() public abstract method

public abstract BuildLastPageLink ( ) : void
return void

BuildNextPageLink() public abstract method

public abstract BuildNextPageLink ( ) : void
return void

BuildPageLinks() public abstract method

public abstract BuildPageLinks ( ) : void
return void

BuildPreviousPageLink() public abstract method

public abstract BuildPreviousPageLink ( ) : void
return void

CreateCurrentPageLink() protected method

protected CreateCurrentPageLink ( int i ) : Tag
i int
return Tag

CreateNoPage() protected static method

protected static CreateNoPage ( ) : Gap
return Gap

CreatePageLink() protected method

protected CreatePageLink ( int i ) : Tag
i int
return Tag

HasPages() protected method

protected HasPages ( ) : bool
return bool

InsideWindow() protected static method

protected static InsideWindow ( int currentPage, int page, int window ) : bool
currentPage int
page int
window int
return bool

IsNotFirstPage() protected method

protected IsNotFirstPage ( ) : bool
return bool

IsNotLastPage() protected method

protected IsNotLastPage ( ) : bool
return bool

LastPageWasNotTruncated() protected method

protected LastPageWasNotTruncated ( ) : bool
return bool

LeftOuter() protected static method

protected static LeftOuter ( int page, int left ) : bool
page int
left int
return bool

PaginationBuilder() protected method

protected PaginationBuilder ( ) : System
return System

PaginationBuilder() protected method

protected PaginationBuilder ( PagedResultBase pagedResult, Func urlAction ) : System
pagedResult PagedResultBase
urlAction Func
return System

RightOuter() protected static method

protected static RightOuter ( int pages, int page, int right ) : bool
pages int
page int
right int
return bool

Property Details

_pagedResult protected_oe property

protected PagedResultBase _pagedResult
return PagedResultBase

_pagination protected_oe property

protected ICollection _pagination
return ICollection

_urlAction protected_oe property

protected Func _urlAction
return Func