Class WildcardOptions
- Namespace
- Codebelt.Extensions.Xunit
- Assembly
- Codebelt.Extensions.Xunit.dll
Configuration options for Match(String, String, Action<WildcardOptions>).
public class WildcardOptions
- Inheritance
-
WildcardOptions
Constructors
WildcardOptions()
Initializes a new instance of the WildcardOptions class.
public WildcardOptions()
Remarks
The following table shows the initial property values for an instance of WildcardOptions.
Property | Initial Value |
---|---|
GroupOfCharacters | \\* |
SingleCharacter | \\? |
Properties
GroupOfCharacters
Gets or sets the symbol used to represents any group of characters, including no character. The default value is \*
.
public string GroupOfCharacters { get; set; }
Property Value
- String
The symbol used to represents any group of characters, including no character.
SingleCharacter
Gets or sets the symbol used to represents any single character. The default value is \?
.
public string SingleCharacter { get; set; }
Property Value
- String
The symbol used to represents any single character.
ThrowOnNoMatch
Gets or sets a value indicating whether a ArgumentOutOfRangeException is thrown when no match is found. The default value is false
.
public bool ThrowOnNoMatch { get; set; }
Property Value
- Boolean
true
if a ArgumentOutOfRangeException is thrown when no match is found; otherwise,false
.