C# Class Headless.ComponentsLocationValidator

The ComponentsLocationValidator class uses Uri.GetComponents to validate Uri locations.
Inheritance: ILocationValidator
Afficher le fichier Open project: roryprimrose/Headless

Méthodes publiques

Méthode Description
Matches ( Uri location, IEnumerable matchingExpressions ) : bool
Matches ( Uri location, Uri expectedLocation ) : bool

Méthodes protégées

Méthode Description
ValidateParameters ( Uri expectedLocation, Uri actualLocation ) : void

Validates that appropriate parameters are supplied.

Method Details

Matches() public méthode

This method is not implemented.
public Matches ( Uri location, IEnumerable matchingExpressions ) : bool
location System.Uri
matchingExpressions IEnumerable
Résultat bool

Matches() public méthode

/// 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
Résultat bool

ValidateParameters() protected static méthode

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. ///
Résultat void