C# Class Headless.RegexLocationValidator

The RegexLocationValidator class validates page locations based on regular expressions.
Inheritance: ILocationValidator
Show file Open project: roryprimrose/Headless

Public Methods

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

Method Details

Matches() public method

The is null. /// The is a relative location where an absolute location is required. /// The is null.
public Matches ( Uri location, IEnumerable matchingExpressions ) : bool
location System.Uri
matchingExpressions IEnumerable
return bool

Matches() public method

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