C# 클래스 Nexus.Client.Util.UriUtil

Utility class for working with Uris.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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