Class UrlMatchPatternCollection
A class used for control URL, Domain and File type access using positive and negative wild-card(*?) and Regex rules.
Inheritance
System.Object
UrlMatchPatternCollection
Namespace: IronWebScraper.Urls
Assembly: IronWebScraper.dll
Syntax
public class UrlMatchPatternCollection : List<Regex>
Constructors
UrlMatchPatternCollection()
Declaration
public UrlMatchPatternCollection()
Methods
Add(String)
Adds a match pattern using strings with wild-card.
? matches exactly 1 character
* matches exactly zero to any number of characters
Declaration
public void Add(string wildCardPattern)
Parameters
Type | Name | Description |
---|---|---|
System.String | wildCardPattern | The wild-card pattern. |
Add(String[])
Adds multiple match patterns using strings with wild-card.
? matches exactly 1 character
* matches exactly zero to any number of characters
Declaration
public void Add(params string[] wildCardPatterns)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | wildCardPatterns | The wild-card patterns. |