C# 클래스 SonarLint.VisualStudio.Integration.Connection.UriValidator

파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarlint-visualstudio 1 사용 예제들

공개 메소드들

메소드 설명
IsInsecureScheme ( Uri uri ) : bool

True if uri's scheme is one of insecureSchemes, false otherwise.

IsSupportedScheme ( Uri uri ) : bool

True if uri's scheme is one of supportedSchemes, false otherwise.

IsValidUri ( Uri uri ) : bool

Whether or not uri is considered to be a valid URI.

Valid URIs must have a scheme listed in supportedSchemes and be absolute.

IsValidUri ( string uriString ) : bool

Whether or not uriString is considered to be a valid URI.

Valid URIs cannot be null, must have a scheme listed in supportedSchemes, and be absolute.

UriValidator ( ) : System
UriValidator ( ISet supportedSchemes ) : System
UriValidator ( ISet supportedSchemes, ISet insecureSchemes ) : System

메소드 상세

IsInsecureScheme() 공개 메소드

True if uri's scheme is one of insecureSchemes, false otherwise.
public IsInsecureScheme ( Uri uri ) : bool
uri System.Uri to check, must not be null.
리턴 bool

IsSupportedScheme() 공개 메소드

True if uri's scheme is one of supportedSchemes, false otherwise.
public IsSupportedScheme ( Uri uri ) : bool
uri System.Uri to check, must not be null.
리턴 bool

IsValidUri() 공개 메소드

Whether or not uri is considered to be a valid URI.
Valid URIs must have a scheme listed in supportedSchemes and be absolute.
public IsValidUri ( Uri uri ) : bool
uri System.Uri to check, must not be null.
리턴 bool

IsValidUri() 공개 메소드

Whether or not uriString is considered to be a valid URI.
Valid URIs cannot be null, must have a scheme listed in supportedSchemes, and be absolute.
public IsValidUri ( string uriString ) : bool
uriString string URI to check
리턴 bool

UriValidator() 공개 메소드

public UriValidator ( ) : System
리턴 System

UriValidator() 공개 메소드

public UriValidator ( ISet supportedSchemes ) : System
supportedSchemes ISet
리턴 System

UriValidator() 공개 메소드

public UriValidator ( ISet supportedSchemes, ISet insecureSchemes ) : System
supportedSchemes ISet
insecureSchemes ISet
리턴 System