C# Class Smartstore.Web.TagHelpers.Shared.PaginationTagHelper

Inheritance: SmartTagHelper
Datei anzeigen Open project: smartstore/Smartstore

Private Properties

Property Type Description

Protected Methods

Method Description
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

Method Details

AddPageItemsList() protected method

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

AppendItem() protected method

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

CreateItemList() protected method

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

GenerateUrl() protected method

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

GetFirstPageIndex() protected method

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

GetItemInnerContent() protected method

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

GetLastPageIndex() protected method

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

ProcessCore() protected method

protected ProcessCore ( TagHelperContext context, TagHelperOutput output ) : void
context TagHelperContext
output TagHelperOutput
return void