Свойство | Тип | Описание | |
---|---|---|---|
AcceptableSeperatorChars | char[] |
Метод | Описание | |
---|---|---|
AppendQueryPart ( string uri, string key, string value ) : string | ||
BuildQuery ( |
||
BuildQuery ( |
||
BuildQuery ( string>.System |
||
BuildQuery ( string>.System |
||
Combine ( string left, string right ) : string | ||
ContainsQuery ( string uri ) : bool | ||
Escape ( string s, Predicate |
||
GetName ( string uri ) : string |
Returns the name part of a URL
|
|
GetPath ( string uri ) : string | ||
GetScheme ( string uri ) : string | ||
GetSchemeAndPath ( string uri ) : string>.Pair |
||
NormalizePath ( string path ) : string |
NormalizePath(string, int, int) Calls NormalizePath(string, int, int) with the array AcceptableSeperatorChars which contains |
|
NormalizePath ( string path, int startIndex, int count ) : string | ||
NormalizePath ( string path, int startIndex, int count, char seperatorChars, bool preserveEndingSeperator ) : string |
Normalises a given path and returns the new normalised version. The normalization process consists of the following: Path elements consisting of '.' are removed. Path elements before path elements consisting of '..' are removed. The given chars are replaced with the standard URI seperator char '/'. Paths will always be returned without the trailing seperator char '/'. |
|
ParseQuery ( string query ) : IEnumerable |
||
RemoveQuery ( string uri ) : string | ||
Unescape ( string s ) : string | ||
UrlEncode ( string instring ) : string |
Метод | Описание | |
---|---|---|
CharArrayContains ( char array, char c ) : bool |
public static AppendQueryPart ( string uri, string key, string value ) : string | ||
uri | string | |
key | string | |
value | string | |
Результат | string |
public static BuildQuery ( |
||
nameValueCollection | ||
Результат | string |
public static BuildQuery ( |
||
nameValueCollection | ||
acceptPair | string>.Predicate | |
Результат | string |
public static BuildQuery ( string>.System |
||
pairs | string>.System | |
Результат | string |
public static BuildQuery ( string>.System |
||
pairs | string>.System | |
acceptPair | string>.Predicate | |
Результат | string |
public static Combine ( string left, string right ) : string | ||
left | string | |
right | string | |
Результат | string |
public static ContainsQuery ( string uri ) : bool | ||
uri | string | |
Результат | bool |
public static Escape ( string s, Predicate |
||
s | string | |
includeChar | Predicate |
|
Результат | string |
public static GetName ( string uri ) : string | ||
uri | string | |
Результат | string |
public static GetPath ( string uri ) : string | ||
uri | string | |
Результат | string |
public static GetScheme ( string uri ) : string | ||
uri | string | |
Результат | string |
public static GetSchemeAndPath ( string uri ) : string>.Pair |
||
uri | string | |
Результат | string>.Pair |
public static NormalizePath ( string path ) : string | ||
path | string | |
Результат | string |
public static NormalizePath ( string path, int startIndex, int count ) : string | ||
path | string | |
startIndex | int | |
count | int | |
Результат | string |
public static NormalizePath ( string path, int startIndex, int count, char seperatorChars, bool preserveEndingSeperator ) : string | ||
path | string | /// The path to normalise. /// |
startIndex | int | |
count | int | |
seperatorChars | char | |
preserveEndingSeperator | bool | |
Результат | string |
public static ParseQuery ( string query ) : IEnumerable |
||
query | string | |
Результат | IEnumerable |
public static RemoveQuery ( string uri ) : string | ||
uri | string | |
Результат | string |
public static Unescape ( string s ) : string | ||
s | string | |
Результат | string |
public static UrlEncode ( string instring ) : string | ||
instring | string | |
Результат | string |