C# Class Liara.Helpers.QueryStringHelpers

Afficher le fichier Open project: prasannavl/Liara

Méthodes publiques

Méthode Description
ConvertToUriString ( ILiaraHashTable queryString, char seperator = '&', bool prefixQuestionMark = true ) : string

Return the correctly formed and escaped query string that is can directly be added to the Uri component, including the leading "?".

ParseFromString ( string text, bool isCaseSensitive = false ) : ILiaraHashTable

Parse the given text into a query string.

Note: By default, query strings are not case sensitive.

Method Details

ConvertToUriString() public static méthode

Return the correctly formed and escaped query string that is can directly be added to the Uri component, including the leading "?".
public static ConvertToUriString ( ILiaraHashTable queryString, char seperator = '&', bool prefixQuestionMark = true ) : string
queryString ILiaraHashTable
seperator char
prefixQuestionMark bool
Résultat string

ParseFromString() public static méthode

Parse the given text into a query string.

Note: By default, query strings are not case sensitive.

public static ParseFromString ( string text, bool isCaseSensitive = false ) : ILiaraHashTable
text string
isCaseSensitive bool
Résultat ILiaraHashTable