C# Class Liara.Helpers.QueryStringHelpers

Exibir arquivo Open project: prasannavl/Liara

Public Methods

Method 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 method

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
return string

ParseFromString() public static method

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
return ILiaraHashTable