Summary
Creates
Specification for given pattern.
- Namespace
- FluentSpecification
.Common - Containing Type
- MatchSpecification
Syntax
[PublicAPI]
public MatchSpecification(string regexPattern, RegexOptions options = null)
Attributes
| Type | Description |
|---|---|
| PublicAPI |
Parameters
| Name | Type | Description |
|---|---|---|
| regexPattern | string | Regex pattern. |
| options | RegexOptions | Regex matching options. |
Return Value
| Type | Description |
|---|---|
| void |
Exceptions
| Type | Description |
|---|---|
| System.ArgumentException | Thrown when regexPattern is null or empty. |

