C# Class Headless.ComponentsLocationValidator

The ComponentsLocationValidator class uses Uri.GetComponents to validate Uri locations.
Inheritance: ILocationValidator
Mostrar archivo Open project: roryprimrose/Headless

Public Methods

Method Description
Matches ( Uri location, IEnumerable matchingExpressions ) : bool
Matches ( Uri location, Uri expectedLocation ) : bool

Protected Methods

Method Description
ValidateParameters ( Uri expectedLocation, Uri actualLocation ) : void

Validates that appropriate parameters are supplied.

Method Details

Matches() public method

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

Matches() public method

/// 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
return bool

ValidateParameters() protected static method

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. ///
return void