C# Класс Rhino.Queues.Utils.MonoHttpUtility

We have to use this stupid trick because HttpUtility.UrlEncode / Decode uses HttpContext.Current under the covers, which doesn't work in IIS7 Application_Start
Показать файл Открыть проект

Открытые методы

Метод Описание
UrlDecode ( byte bytes, Encoding e ) : string
UrlDecode ( byte bytes, int offset, int count, Encoding e ) : string
UrlDecode ( string str ) : string
UrlDecode ( string s, Encoding e ) : string
UrlDecodeToBytes ( byte bytes ) : byte[]
UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlDecodeToBytes ( string str ) : byte[]
UrlDecodeToBytes ( string str, Encoding e ) : byte[]
UrlEncode ( byte bytes ) : string
UrlEncode ( byte bytes, int offset, int count ) : string
UrlEncode ( string str ) : string
UrlEncode ( string s, Encoding Enc ) : string
UrlEncodeToBytes ( byte bytes ) : byte[]
UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlEncodeToBytes ( string str ) : byte[]
UrlEncodeToBytes ( string str, Encoding e ) : byte[]
UrlEncodeUnicode ( string str ) : string
UrlEncodeUnicodeToBytes ( string str ) : byte[]

Приватные методы

Метод Описание
GetChar ( byte bytes, int offset, int length ) : int
GetChar ( string str, int offset, int length ) : int
GetChars ( MemoryStream b, Encoding e ) : char[]
GetInt ( byte b ) : int
WriteCharBytes ( IList buf, char ch, Encoding e ) : void

Описание методов

UrlDecode() публичный статический Метод

public static UrlDecode ( byte bytes, Encoding e ) : string
bytes byte
e System.Text.Encoding
Результат string

UrlDecode() публичный статический Метод

public static UrlDecode ( byte bytes, int offset, int count, Encoding e ) : string
bytes byte
offset int
count int
e System.Text.Encoding
Результат string

UrlDecode() публичный статический Метод

public static UrlDecode ( string str ) : string
str string
Результат string

UrlDecode() публичный статический Метод

public static UrlDecode ( string s, Encoding e ) : string
s string
e System.Text.Encoding
Результат string

UrlDecodeToBytes() публичный статический Метод

public static UrlDecodeToBytes ( byte bytes ) : byte[]
bytes byte
Результат byte[]

UrlDecodeToBytes() публичный статический Метод

public static UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
Результат byte[]

UrlDecodeToBytes() публичный статический Метод

public static UrlDecodeToBytes ( string str ) : byte[]
str string
Результат byte[]

UrlDecodeToBytes() публичный статический Метод

public static UrlDecodeToBytes ( string str, Encoding e ) : byte[]
str string
e System.Text.Encoding
Результат byte[]

UrlEncode() публичный статический Метод

public static UrlEncode ( byte bytes ) : string
bytes byte
Результат string

UrlEncode() публичный статический Метод

public static UrlEncode ( byte bytes, int offset, int count ) : string
bytes byte
offset int
count int
Результат string

UrlEncode() публичный статический Метод

public static UrlEncode ( string str ) : string
str string
Результат string

UrlEncode() публичный статический Метод

public static UrlEncode ( string s, Encoding Enc ) : string
s string
Enc System.Text.Encoding
Результат string

UrlEncodeToBytes() публичный статический Метод

public static UrlEncodeToBytes ( byte bytes ) : byte[]
bytes byte
Результат byte[]

UrlEncodeToBytes() публичный статический Метод

public static UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
Результат byte[]

UrlEncodeToBytes() публичный статический Метод

public static UrlEncodeToBytes ( string str ) : byte[]
str string
Результат byte[]

UrlEncodeToBytes() публичный статический Метод

public static UrlEncodeToBytes ( string str, Encoding e ) : byte[]
str string
e System.Text.Encoding
Результат byte[]

UrlEncodeUnicode() публичный статический Метод

public static UrlEncodeUnicode ( string str ) : string
str string
Результат string

UrlEncodeUnicodeToBytes() публичный статический Метод

public static UrlEncodeUnicodeToBytes ( string str ) : byte[]
str string
Результат byte[]