Class UriExtensions
Extension methods for the Uri class
Inheritance
System.Object
UriExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib.Web
Assembly: ImageVault.Common.dll
Syntax
public static class UriExtensions
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 |