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

Generate the pager link text with simple query parameter name and values.
Inheritance: QueryValueLinkGenerator
Datei anzeigen Open project: sgjsakura/AspNetCore

Private Properties

Property Type Description

Public Methods

Method Description
GenerateQueryParameterValue ( PagerItemGenerationContext context ) : string

Generate the query parameter value for the specified PagerItem.

SimpleQueryValueLinkGenerator ( [ queryParameterName, [ queryParameterValue ) : System

Initialize a new instance of the generator.

Method Details

GenerateQueryParameterValue() public method

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

SimpleQueryValueLinkGenerator() public method

Initialize a new instance of the generator.
/// The or /// is null. ///
public SimpleQueryValueLinkGenerator ( [ queryParameterName, [ queryParameterValue ) : System
queryParameterName [ The query parameter name when generating the link URL.
queryParameterValue [ The query parameter value when generating the link URL.
return System