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

Generate a link url from a simple string.
Inheritance: IPagerItemLinkGenerator
Show file Open project: sgjsakura/AspNetCore

Private Properties

Property Type Description

Public Methods

Method Description
GenerateLink ( PagerItemGenerationContext context ) : string

Generate the link url for the specified PagerItem.

SimpleLinkGenerator ( [ text ) : System

Initialize a new generator with specified information.

Method Details

GenerateLink() public method

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

SimpleLinkGenerator() public method

Initialize a new generator with specified information.
is null.
public SimpleLinkGenerator ( [ text ) : System
text [ The text content.
return System