C# Класс Headless.ComponentsLocationValidator

The ComponentsLocationValidator class uses Uri.GetComponents to validate Uri locations.
Наследование: ILocationValidator
Показать файл Открыть проект

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

Метод Описание
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