C# 클래스 Headless.ComponentsLocationValidator

The ComponentsLocationValidator class uses Uri.GetComponents to validate Uri locations.
상속: ILocationValidator
파일 보기 프로젝트 열기: roryprimrose/Headless

공개 메소드들

메소드 설명
Matches ( Uri location, IEnumerable matchingExpressions ) : bool
Matches ( Uri location, Uri expectedLocation ) : bool

보호된 메소드들

메소드 설명
ValidateParameters ( Uri expectedLocation, Uri actualLocation ) : void

Validates that appropriate parameters are supplied.

메소드 상세

Matches() 공개 메소드

This method is not implemented.
public Matches ( Uri location, IEnumerable matchingExpressions ) : bool
location System.Uri
matchingExpressions IEnumerable
리턴 bool

Matches() 공개 메소드

/// The parameter is null. /// /// The is a relative location where an absolute location is required. /// /// The parameter is null. /// /// The is a relative location where an absolute location is required. ///
public Matches ( Uri location, Uri expectedLocation ) : bool
location System.Uri
expectedLocation System.Uri
리턴 bool

ValidateParameters() 보호된 정적인 메소드

Validates that appropriate parameters are supplied.
/// The parameter is null. /// /// The is a relative location where an absolute location is required. /// /// The parameter is null. /// /// The is a relative location where an absolute location is required. ///
protected static ValidateParameters ( Uri expectedLocation, Uri actualLocation ) : void
expectedLocation System.Uri /// The expected location. ///
actualLocation System.Uri /// The actual location. ///
리턴 void