C# 클래스 Smartstore.Web.TagHelpers.Shared.PaginationTagHelper

상속: SmartTagHelper
파일 보기 프로젝트 열기: smartstore/Smartstore

Private Properties

프로퍼티 타입 설명

보호된 메소드들

메소드 설명
AddPageItemsList ( List items ) : void

Can be overridden in a custom renderer in order to apply a custom numbering sequence.

AppendItem ( TagBuilder itemsUl, PagerItem item ) : void

Creates li tag from PagerItem and appends it to ul tag.

CreateItemList ( ) : List

Creates complete item list by adding navigation items for.

GenerateUrl ( int pageNumber ) : string

Generates and returns URL for pager item.

GetFirstPageIndex ( ) : int

Gets first individual page index.

GetItemInnerContent ( PagerItem item, TagBuilder innerAOrSpan ) : TagBuilder

Sets inner content for for pager item.

GetLastPageIndex ( ) : int

Get last individual page index.

ProcessCore ( TagHelperContext context, TagHelperOutput output ) : void

메소드 상세

AddPageItemsList() 보호된 메소드

Can be overridden in a custom renderer in order to apply a custom numbering sequence.
protected AddPageItemsList ( List items ) : void
items List
리턴 void

AppendItem() 보호된 메소드

Creates li tag from PagerItem and appends it to ul tag.
protected AppendItem ( TagBuilder itemsUl, PagerItem item ) : void
itemsUl TagBuilder
item PagerItem
리턴 void

CreateItemList() 보호된 메소드

Creates complete item list by adding navigation items for.
protected CreateItemList ( ) : List
리턴 List

GenerateUrl() 보호된 메소드

Generates and returns URL for pager item.
protected GenerateUrl ( int pageNumber ) : string
pageNumber int
리턴 string

GetFirstPageIndex() 보호된 메소드

Gets first individual page index.
protected GetFirstPageIndex ( ) : int
리턴 int

GetItemInnerContent() 보호된 메소드

Sets inner content for for pager item.
protected GetItemInnerContent ( PagerItem item, TagBuilder innerAOrSpan ) : TagBuilder
item PagerItem
innerAOrSpan TagBuilder
리턴 TagBuilder

GetLastPageIndex() 보호된 메소드

Get last individual page index.
protected GetLastPageIndex ( ) : int
리턴 int

ProcessCore() 보호된 메소드

protected ProcessCore ( TagHelperContext context, TagHelperOutput output ) : void
context TagHelperContext
output TagHelperOutput
리턴 void