C# 클래스 Sakura.AspNetCore.Mvc.Generators.CustomLinkGenerator

Generate a link url string for a custom string generator.
상속: IPagerItemLinkGenerator
파일 보기 프로젝트 열기: sgjsakura/AspNetCore

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CustomLinkGenerator ( string>.[ linkGenerator ) : System

Initialize a new instance of CustomLinkGenerator.

GenerateLink ( PagerItemGenerationContext context ) : string

Generate the link url for the specified PagerItem.

메소드 상세

CustomLinkGenerator() 공개 메소드

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

GenerateLink() 공개 메소드

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