C# Class Microsoft.WindowsAzure.Commands.Sync.Download.HttpUtility

显示文件 Open project: Azure/azure-powershell

Public Methods

Method Description
ParseQueryString ( string query ) : NameValueCollection
ParseQueryString ( string query, Encoding encoding ) : NameValueCollection
UrlDecode ( string str ) : string
UrlDecode ( string str, Encoding e ) : string
UrlEncodeUnicode ( string str ) : string

Private Methods

Method Description
HexToInt ( char h ) : int
IntToHex ( int n ) : char
IsSafe ( char ch ) : bool
UrlDecodeStringFromStringInternal ( string s, Encoding e ) : string
UrlEncodeUnicodeStringToStringInternal ( string s, bool ignoreAscii ) : string

Method Details

ParseQueryString() public static method

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

ParseQueryString() public static method

public static ParseQueryString ( string query, Encoding encoding ) : NameValueCollection
query string
encoding System.Text.Encoding
return System.Collections.Specialized.NameValueCollection

UrlDecode() public static method

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

UrlDecode() public static method

public static UrlDecode ( string str, Encoding e ) : string
str string
e System.Text.Encoding
return string

UrlEncodeUnicode() public static method

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