Class UriUtils
Utility functions for operating on Uris
Assembly: cs.temp.dll.dll
Methods
Declaration
public static string DictionaryToParameterString<T>(Dictionary<string, T> dictionary)
Parameters
Returns
Type Parameters
Declaration
public static Dictionary<string, string> GetUriFragments(Uri uri)
Parameters
Type |
Name |
Description |
Uri |
uri |
|
Returns
Extracts the parameters of a given uri and returns them
Declaration
public static Dictionary<string, string> GetUriParameters(Uri uri)
Parameters
Type |
Name |
Description |
Uri |
uri |
The uri which contains the parameters
|
Returns
Rewrites a given URI that points to a file so that it points to the location specified by the relative file path
The relative file path starts at the uri's destination
Declaration
public static string RewriteFileUriPath(Uri uri, string relativeFilePath)
Parameters
Type |
Name |
Description |
Uri |
uri |
The uri which should be rewritten
|
String |
relativeFilePath |
A relative file path starting at uri's location
|
Returns
Type |
Description |
String |
Returns an absolute Uri which points to the location of the relative file path
|
Declaration
public static string WordArrayToSpaceEscapedString(string[] array)
Parameters
Type |
Name |
Description |
String[] |
array |
|
Returns