C# Класс Nexus.Client.Util.UriUtil

Utility class for working with Uris.
Показать файл Открыть проект

Открытые методы

Метод Описание
BuildUri ( string p_strUri ) : Uri

Builds a Uri from the given string.

If the given string is not a valid Uri, we try turning it into an HTTP Uri.

TryBuildUri ( string p_strUri, Uri &p_uriUri ) : bool

Tries to build a Uri from the given string.

If the given string is not a valid Uri, we try turning it into an HTTP Uri.

Описание методов

BuildUri() публичный статический Метод

Builds a Uri from the given string.
If the given string is not a valid Uri, we try turning it into an HTTP Uri.
public static BuildUri ( string p_strUri ) : Uri
p_strUri string The string from which to construct a .
Результат System.Uri

TryBuildUri() публичный статический Метод

Tries to build a Uri from the given string.
If the given string is not a valid Uri, we try turning it into an HTTP Uri.
public static TryBuildUri ( string p_strUri, Uri &p_uriUri ) : bool
p_strUri string The string from which to construct a .
p_uriUri System.Uri The constructed .
Результат bool