C# 클래스 Recognos.Core.UriExtensions

Useful extensions for Uri processing.
파일 보기 프로젝트 열기: Recognos/Recognos.Core

공개 메소드들

메소드 설명
ExtractUris ( this input ) : IEnumerable

Extracts the uris from a string.

IsWeb ( this uri ) : bool

Determines whether the specified URI is a web uri (http or https).

ResolveRedirects ( this uri ) : Uri

Resolves the redirects for the specified URI is required.

If http errors are encountered the input uri is returned.

ResolveRedirects ( this uri, Uri>.Func error ) : Uri

Resolves the redirects for the specified URI is required.

메소드 상세

ExtractUris() 공개 정적인 메소드

Extracts the uris from a string.
public static ExtractUris ( this input ) : IEnumerable
input this The input string.
리턴 IEnumerable

IsWeb() 공개 정적인 메소드

Determines whether the specified URI is a web uri (http or https).
public static IsWeb ( this uri ) : bool
uri this The URI.
리턴 bool

ResolveRedirects() 공개 정적인 메소드

Resolves the redirects for the specified URI is required.
If http errors are encountered the input uri is returned.
public static ResolveRedirects ( this uri ) : Uri
uri this The URI.
리턴 System.Uri

ResolveRedirects() 공개 정적인 메소드

Resolves the redirects for the specified URI is required.
public static ResolveRedirects ( this uri, Uri>.Func error ) : Uri
uri this The URI.
error Uri>.Func Action to be performed when http error is encountered.
리턴 System.Uri