C# Class Sakura.AspNetCore.Mvc.Generators.CustomQueryValueLinkGenerator

Generate the query parameter value using a custom method.
Inheritance: QueryValueLinkGenerator
Afficher le fichier Open project: sgjsakura/AspNetCore

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CustomQueryValueLinkGenerator ( [ queryParameterName, string>.[ queryValueGenerator ) : System

Initialize a new instance of the generator.

GenerateQueryParameterValue ( PagerItemGenerationContext context ) : string

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

Method Details

CustomQueryValueLinkGenerator() public méthode

Initialize a new instance of the generator.
/// The or /// is null. ///
public CustomQueryValueLinkGenerator ( [ queryParameterName, string>.[ queryValueGenerator ) : System
queryParameterName [ The query parameter name when generating the link URL.
queryValueGenerator string>.[ The query parameter value generating method delegate.
Résultat System

GenerateQueryParameterValue() public méthode

When derived, generate the query parameter value for the specified PagerItem.
public GenerateQueryParameterValue ( PagerItemGenerationContext context ) : string
context PagerItemGenerationContext The generation context.
Résultat string