Свойство | Тип | Описание | |
---|---|---|---|
CheckOptions | void | ||
GetPagingInfo | void | ||
GetRealGenerator | IPagerGenerator | ||
GetRealOptions | PagerOptions | ||
MergeShortcutProperties | PagerOptions |
Метод | Описание | |
---|---|---|
PagerTagHelper ( IOptions |
Initialize a new instance of PagerTagHelper.
|
|
Process ( Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output ) : void |
Synchronously executes the TagHelper with the given context and output.
|
Метод | Описание | |
---|---|---|
CheckOptions ( [ options ) : void |
Handle the options to avoid it is in an invalid state.
|
|
GetPagingInfo ( Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, int ¤tPage, int &totalPage ) : void |
Try to get the page information from the current context.
|
|
GetRealGenerator ( Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context ) : IPagerGenerator |
Get the real IPagerGenerator used in this tag helper/
|
|
GetRealOptions ( Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context ) : PagerOptions |
Get the real PagerOptions used in this tag helper/
|
|
MergeShortcutProperties ( PagerOptions original, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context ) : PagerOptions |
Merge options set by the tag into the original options.
|
public PagerTagHelper ( IOptions |
||
defaultOptions | IOptions |
Registered default options value. |
Результат | System |
public Process ( Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output ) : void | ||
context | Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext | Contains information associated with the current HTML tag. |
output | Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput | A stateful HTML element used to generate an HTML tag. |
Результат | void |