Class AbpPaginationTagHelperService
Inherited Members
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Pagination
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.dll
Syntax
public class AbpPaginationTagHelperService : AbpTagHelperService<AbpPaginationTagHelper>, IAbpTagHelperService<AbpPaginationTagHelper>, ITransientDependency
Constructors
AbpPaginationTagHelperService(IHtmlGenerator, HtmlEncoder, IAbpTagHelperLocalizer, IStringLocalizerFactory)
Declaration
public AbpPaginationTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder, IAbpTagHelperLocalizer tagHelperLocalizer, IStringLocalizerFactory stringLocalizerFactory)
Parameters
Type | Name | Description |
---|---|---|
IHtmlGenerator | generator | |
HtmlEncoder | encoder | |
IAbpTagHelperLocalizer | tagHelperLocalizer | |
IStringLocalizerFactory | stringLocalizerFactory |
Methods
GetClosingTags(TagHelperContext, TagHelperOutput)
Declaration
protected virtual string GetClosingTags(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
Returns
Type | Description |
---|---|
string |
GetNextButton(TagHelperContext, TagHelperOutput)
Declaration
protected virtual Task<string> GetNextButton(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
Returns
Type | Description |
---|---|
Task<string> |
GetOpeningTags(TagHelperContext, TagHelperOutput)
Declaration
protected virtual string GetOpeningTags(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
Returns
Type | Description |
---|---|
string |
GetPageAsync(TagHelperContext, TagHelperOutput, PageItem)
Declaration
protected virtual Task<string> GetPageAsync(TagHelperContext context, TagHelperOutput output, PageItem page)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output | |
PageItem | page |
Returns
Type | Description |
---|---|
Task<string> |
GetPagesAsync(TagHelperContext, TagHelperOutput)
Declaration
protected virtual Task<string> GetPagesAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
Returns
Type | Description |
---|---|
Task<string> |
GetPreviousButtonAsync(TagHelperContext, TagHelperOutput)
Declaration
protected virtual Task<string> GetPreviousButtonAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
Returns
Type | Description |
---|---|
Task<string> |
ProcessAsync(TagHelperContext, TagHelperOutput)
Declaration
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
Returns
Type | Description |
---|---|
Task |
Overrides
ProcessMainTag(TagHelperContext, TagHelperOutput)
Declaration
protected virtual void ProcessMainTag(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
RenderAnchorTagHelperLinkHtmlAsync(TagHelperContext, TagHelperOutput, string, string)
Declaration
protected virtual Task<string> RenderAnchorTagHelperLinkHtmlAsync(TagHelperContext context, TagHelperOutput output, string currentPage, string localizationKey)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output | |
string | currentPage | |
string | localizationKey |
Returns
Type | Description |
---|---|
Task<string> |
SetContentAsHtmlAsync(TagHelperContext, TagHelperOutput)
Declaration
protected virtual Task SetContentAsHtmlAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type | Name | Description |
---|---|---|
TagHelperContext | context | |
TagHelperOutput | output |
Returns
Type | Description |
---|---|
Task |
SetHrefAttribute(string, TagHelperAttributeList)
Declaration
protected virtual void SetHrefAttribute(string currentPage, TagHelperAttributeList attributeList)
Parameters
Type | Name | Description |
---|---|---|
string | currentPage | |
TagHelperAttributeList | attributeList |