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

Represent as base class for all query string based link generator.
상속: CurrentUriBasedLinkGenerator
파일 보기 프로젝트 열기: sgjsakura/AspNetCore

공개 메소드들

메소드 설명
GenerateQueryParameterName ( [ context ) : string

When derived, generate the query parameter name for the specified PagerItem.

GenerateQueryParameterValue ( [ context ) : string

When derived, generate the query parameter value for the specified PagerItem.

보호된 메소드들

메소드 설명
HandleUriCore ( string currentUri, PagerItemGenerationContext context ) : string

The core method for handling the current uri.

Most URI handling method requirest the URI be absolute format, however in the view page relative URI is recommended. The currentUri argument in this method has been handled and is ensured to be absolute. The generator will correctly recover it to the original format after handling.

비공개 메소드들

메소드 설명
ChangeQueryParameterValue ( string baseUri, string queryParameterName, string queryParameterValue ) : string

메소드 상세

GenerateQueryParameterName() 공개 추상적인 메소드

When derived, generate the query parameter name for the specified PagerItem.
public abstract GenerateQueryParameterName ( [ context ) : string
context [ The generation context.
리턴 string

GenerateQueryParameterValue() 공개 추상적인 메소드

When derived, generate the query parameter value for the specified PagerItem.
public abstract GenerateQueryParameterValue ( [ context ) : string
context [ The generation context.
리턴 string

HandleUriCore() 보호된 메소드

The core method for handling the current uri.
Most URI handling method requirest the URI be absolute format, however in the view page relative URI is recommended. The currentUri argument in this method has been handled and is ensured to be absolute. The generator will correctly recover it to the original format after handling.
protected HandleUriCore ( string currentUri, PagerItemGenerationContext context ) : string
currentUri string The URL to handle, this URL is ensured in absolute mode.
context PagerItemGenerationContext The generation context.
리턴 string