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

Generate the query parammeter value from a formatted string. The page number will be used as the format argument {0}.
Inheritance: QueryValueLinkGenerator
Afficher le fichier Open project: sgjsakura/AspNetCore

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
FormattedQueryValueLinkGenerator ( [ queryParameterName, [ format, IFormatProvider formatProvider = null ) : System

Initialize a new instance of the generator.

GenerateQueryParameterValue ( PagerItemGenerationContext context ) : string

Generate the query parameter value for the specified PagerItem.

Method Details

FormattedQueryValueLinkGenerator() public méthode

Initialize a new instance of the generator.
/// The or is /// null. ///
public FormattedQueryValueLinkGenerator ( [ queryParameterName, [ format, IFormatProvider formatProvider = null ) : System
queryParameterName [ The query parameter name when generating the link URL.
format [ The format string used to be generate the content string..
formatProvider IFormatProvider /// The format provider used to generate the content string. If this parameter is null, /// will be used. ///
Résultat System

GenerateQueryParameterValue() public méthode

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