Inheritance
System.Object
AbpPaginationTagHelperService
Implements
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.dll
public class AbpPaginationTagHelperService : AbpTagHelperService<AbpPaginationTagHelper>, IAbpTagHelperService<AbpPaginationTagHelper>, ITransientDependency
Constructors
Declaration
public AbpPaginationTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder, IAbpTagHelperLocalizer tagHelperLocalizer, IStringLocalizerFactory stringLocalizerFactory)
Parameters
Type |
Name |
Description |
IHtmlGenerator |
generator |
|
System.Text.Encodings.Web.HtmlEncoder |
encoder |
|
IAbpTagHelperLocalizer |
tagHelperLocalizer |
|
IStringLocalizerFactory |
stringLocalizerFactory |
|
Methods
Declaration
protected virtual string GetClosingTags(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.String |
|
Declaration
protected virtual Task<string> GetNextButton(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
protected virtual string GetOpeningTags(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.String |
|
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 |
System.Threading.Tasks.Task<System.String> |
|
Declaration
protected virtual Task<string> GetPagesAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
protected virtual Task<string> GetPreviousButtonAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.AbpTagHelperService<Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Pagination.AbpPaginationTagHelper>.ProcessAsync(TagHelperContext, TagHelperOutput)
ProcessMainTag(TagHelperContext, TagHelperOutput)
Declaration
protected virtual void ProcessMainTag(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Declaration
protected virtual Task<string> RenderAnchorTagHelperLinkHtmlAsync(TagHelperContext context, TagHelperOutput output, string currentPage, string localizationKey)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.String |
currentPage |
|
System.String |
localizationKey |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Declaration
protected virtual Task SetContentAsHtmlAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
protected virtual void SetHrefAttribute(string currentPage, TagHelperAttributeList attributeList)
Parameters
Type |
Name |
Description |
System.String |
currentPage |
|
TagHelperAttributeList |
attributeList |
|
Implements
ITransientDependency
Extension Methods