Inheritance
object
AbpPaginationTagHelperService
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 |
| Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator |
generator |
|
| System.Text.Encodings.Web.HtmlEncoder |
encoder |
|
| IAbpTagHelperLocalizer |
tagHelperLocalizer |
|
| Microsoft.Extensions.Localization.IStringLocalizerFactory |
stringLocalizerFactory |
|
Methods
Declaration
protected virtual string GetClosingTags(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Returns
Declaration
protected virtual Task<string> GetNextButton(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
Declaration
protected virtual string GetOpeningTags(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Returns
Declaration
protected virtual Task<string> GetPageAsync(TagHelperContext context, TagHelperOutput output, PageItem page)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| PageItem |
page |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
Declaration
protected virtual Task<string> GetPagesAsync(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
Declaration
protected virtual Task<string> GetPreviousButtonAsync(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
Declaration
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.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(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput)
ProcessMainTag(TagHelperContext, TagHelperOutput)
Declaration
protected virtual void ProcessMainTag(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Declaration
protected virtual Task<string> RenderAnchorTagHelperLinkHtmlAsync(TagHelperContext context, TagHelperOutput output, string currentPage, string localizationKey)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| string |
currentPage |
|
| string |
localizationKey |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
Declaration
protected virtual Task SetContentAsHtmlAsync(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
protected virtual void SetHrefAttribute(string currentPage, TagHelperAttributeList attributeList)
Parameters
| Type |
Name |
Description |
| string |
currentPage |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList |
attributeList |
|
Implements
Extension Methods