Class UriExtensions
Extension methods for the Uri class
Inheritance
System.Object
UriExtensions
Namespace: ImageVault.Common.Lib.Web
Assembly: ImageVault.Common.dll
Syntax
public static class UriExtensions : Object
Methods
ToUrl(Uri)
Converts an Uri to an url with correct encoding. Replacement for the faulty ToString() of the Uri class.
Declaration
public static string ToUrl(this Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri |
Returns
Type | Description |
---|---|
System.String |