Свойство | Type | Description | |
---|---|---|---|
AcceptableSeperatorChars | char[] |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
CharArrayContains ( char array, char c ) : bool |
public static AppendQueryPart ( string uri, string key, string value ) : string | ||
uri | string | |
key | string | |
value | string | |
Résultat | string |
public static BuildQuery ( |
||
nameValueCollection | ||
Résultat | string |
public static BuildQuery ( |
||
nameValueCollection | ||
acceptPair | string>.Predicate | |
Résultat | string |
public static BuildQuery ( string>.System |
||
pairs | string>.System | |
Résultat | string |
public static BuildQuery ( string>.System |
||
pairs | string>.System | |
acceptPair | string>.Predicate | |
Résultat | string |
public static Combine ( string left, string right ) : string | ||
left | string | |
right | string | |
Résultat | string |
public static ContainsQuery ( string uri ) : bool | ||
uri | string | |
Résultat | bool |
public static Escape ( string s, Predicate |
||
s | string | |
includeChar | Predicate |
|
Résultat | string |
public static GetName ( string uri ) : string | ||
uri | string | |
Résultat | string |
public static GetPath ( string uri ) : string | ||
uri | string | |
Résultat | string |
public static GetScheme ( string uri ) : string | ||
uri | string | |
Résultat | string |
public static GetSchemeAndPath ( string uri ) : string>.Pair |
||
uri | string | |
Résultat | string>.Pair |
public static NormalizePath ( string path ) : string | ||
path | string | |
Résultat | string |
public static NormalizePath ( string path, int startIndex, int count ) : string | ||
path | string | |
startIndex | int | |
count | int | |
Résultat | 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 | |
Résultat | string |
public static ParseQuery ( string query ) : IEnumerable |
||
query | string | |
Résultat | IEnumerable |
public static RemoveQuery ( string uri ) : string | ||
uri | string | |
Résultat | string |
public static Unescape ( string s ) : string | ||
s | string | |
Résultat | string |
public static UrlEncode ( string instring ) : string | ||
instring | string | |
Résultat | string |