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

Generate a link url string for a custom string generator.
Inheritance: IPagerItemLinkGenerator
Mostrar archivo Open project: sgjsakura/AspNetCore

Private Properties

Property Type Description

Public Methods

Method Description
CustomLinkGenerator ( string>.[ linkGenerator ) : System

Initialize a new instance of CustomLinkGenerator.

GenerateLink ( PagerItemGenerationContext context ) : string

Generate the link url for the specified PagerItem.

Method Details

CustomLinkGenerator() public method

Initialize a new instance of CustomLinkGenerator.
public CustomLinkGenerator ( string>.[ linkGenerator ) : System
linkGenerator string>.[ The link genreator callback delegate.
return System

GenerateLink() public method

Generate the link url for the specified PagerItem.
public GenerateLink ( PagerItemGenerationContext context ) : string
context PagerItemGenerationContext The generation context.
return string