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

Represent as base class for all query string based link generator.
Наследование: CurrentUriBasedLinkGenerator
Показать файл Открыть проект

Открытые методы

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

When derived, generate the query parameter name for the specified PagerItem.

GenerateQueryParameterValue ( [ context ) : string

When derived, generate the query parameter value for the specified PagerItem.

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

Метод Описание
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.

Приватные методы

Метод Описание
ChangeQueryParameterValue ( string baseUri, string queryParameterName, string queryParameterValue ) : string

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

GenerateQueryParameterName() публичный абстрактный Метод

When derived, generate the query parameter name for the specified PagerItem.
public abstract GenerateQueryParameterName ( [ context ) : string
context [ The generation context.
Результат string

GenerateQueryParameterValue() публичный абстрактный Метод

When derived, generate the query parameter value for the specified PagerItem.
public abstract GenerateQueryParameterValue ( [ 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