C# Class MvcApi.Query.UriQueryUtility

Datei anzeigen Open project: dax70/MvcApi

Public Methods

Method Description
ParseQueryString ( string query ) : NameValueCollection
UrlDecode ( string str ) : string
UrlEncode ( string str ) : string

Private Methods

Method Description
HexToInt ( char h ) : int
IntToHex ( int n ) : char
IsUrlSafeChar ( char ch ) : bool
UrlDecodeInternal ( string value, Encoding encoding ) : string
UrlEncode ( byte bytes, int offset, int count ) : byte[]
UrlEncode ( byte bytes, int offset, int count, bool alwaysCreateNewReturnValue ) : byte[]
ValidateUrlEncodingParameters ( byte bytes, int offset, int count ) : bool

Method Details

ParseQueryString() public static method

public static ParseQueryString ( string query ) : NameValueCollection
query string
return System.Collections.Specialized.NameValueCollection

UrlDecode() public static method

public static UrlDecode ( string str ) : string
str string
return string

UrlEncode() public static method

public static UrlEncode ( string str ) : string
str string
return string