C# Класс Sakura.AspNetCore.Mvc.Generators.FragmentLinkGenerator

Generate pager link into current URL's hash (fragment) part.
Наследование: CurrentUriBasedLinkGenerator
Показать файл Открыть проект

Защищенные методы

Метод Описание
GenerateFragment ( [ context ) : string

When derived, generate the fragment part for a specified pager item.

HandleUriCore ( string currentUri, PagerItemGenerationContext context ) : string

The core method for handling the current uri.

Most URI handling method requirest the URI be absolute format, however in the view page relative URI is recommended. The currentUri argument in this method has been handled and is ensured to be absolute. The generator will correctly recover it to the original format after handling.

Описание методов

GenerateFragment() защищенный абстрактный Метод

When derived, generate the fragment part for a specified pager item.
protected abstract GenerateFragment ( [ context ) : string
context [ The generation context.
Результат string

HandleUriCore() защищенный Метод

The core method for handling the current uri.
Most URI handling method requirest the URI be absolute format, however in the view page relative URI is recommended. The currentUri argument in this method has been handled and is ensured to be absolute. The generator will correctly recover it to the original format after handling.
protected HandleUriCore ( string currentUri, PagerItemGenerationContext context ) : string
currentUri string The URL to handle, this URL is ensured in absolute mode.
context PagerItemGenerationContext The generation context.
Результат string