C# 클래스 FT.Search.Helpers.UrlHelperExtensions

Query string processing extensions
파일 보기 프로젝트 열기: friism/folketsting

공개 메소드들

메소드 설명
DictToQuerystring ( string>.IDictionary qs ) : string
ForQuery ( this helper, string solrQuery ) : string
ParseQueryString ( string s ) : string>.IDictionary

Parses a query string. If duplicates are present, the last key/value is kept.

RemoveParameters ( this helper ) : string
RemoveParametersUrl ( this helper, string url ) : string

Removes parameters from an url's query string

SetParameter ( this helper, string key, object value ) : string

Sets/changes a single parameter from the current query string.

SetParameter ( this helper, string url, string key, string value ) : string

Sets/changes an url's query string parameter.

SetParameters ( this helper, object parameterDictionary ) : string

Sets/changes the current query string's parameters, using parameterDictionary as dictionary

SetParameters ( this helper, string url, object>.IDictionary parameters ) : string

Sets/changes an url's query string parameters.

메소드 상세

DictToQuerystring() 공개 정적인 메소드

public static DictToQuerystring ( string>.IDictionary qs ) : string
qs string>.IDictionary
리턴 string

ForQuery() 공개 정적인 메소드

public static ForQuery ( this helper, string solrQuery ) : string
helper this
solrQuery string
리턴 string

ParseQueryString() 공개 정적인 메소드

Parses a query string. If duplicates are present, the last key/value is kept.
public static ParseQueryString ( string s ) : string>.IDictionary
s string
리턴 string>.IDictionary

RemoveParameters() 공개 정적인 메소드

public static RemoveParameters ( this helper ) : string
helper this
리턴 string

RemoveParametersUrl() 공개 정적인 메소드

Removes parameters from an url's query string
public static RemoveParametersUrl ( this helper, string url ) : string
helper this
url string URL to process
리턴 string

SetParameter() 공개 정적인 메소드

Sets/changes a single parameter from the current query string.
public static SetParameter ( this helper, string key, object value ) : string
helper this
key string Parameter key
value object Parameter value
리턴 string

SetParameter() 공개 정적인 메소드

Sets/changes an url's query string parameter.
public static SetParameter ( this helper, string url, string key, string value ) : string
helper this
url string URL to process
key string Query string parameter key to set/change
value string Query string parameter value
리턴 string

SetParameters() 공개 정적인 메소드

Sets/changes the current query string's parameters, using parameterDictionary as dictionary
public static SetParameters ( this helper, object parameterDictionary ) : string
helper this
parameterDictionary object Parameters to set/change
리턴 string

SetParameters() 공개 정적인 메소드

Sets/changes an url's query string parameters.
public static SetParameters ( this helper, string url, object>.IDictionary parameters ) : string
helper this
url string URL to process
parameters object>.IDictionary Paramteres to set/change
리턴 string