UriExtensions

Name Value
Assembly Catel.Core
Namespace Catel
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public static class UriExtensions

Uri extension methods.

Methods

GetSafeUriString(Uri uri)

Gets the safe URI string.

Parameters

Name Description
uri The URI.

Returns

The safe URI string.

Exceptions

Name Description
ArgumentNullException The uri isnull.

IsAbsoluteUrl(string url)

Determines whether the specified url is an absolute url or not.

Parameters

Name Description
url The URL.

Returns

true if the specified url is an absolute url; otherwise,false.

Exceptions

Name Description
ArgumentNullException The url isnull.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion