Class RepeatedCharMatcher
Matcher that matches consecutive occurrences of the same character, such as "111" or "!!!".
Inherited Members
Namespace: Singulink.Cryptography.PasswordMatchers
Assembly: Singulink.Cryptography.PasswordMatcher.dll
Syntax
public sealed class RepeatedCharMatcher : ValueMatcher
Constructors
| Name | Description |
|---|---|
| RepeatedCharMatcher(int, int, Func<char, bool>?, bool) | Initializes a new instance of the RepeatedCharMatcher class. |
Properties
| Name | Description |
|---|---|
| CharFilter | Gets the filter that determines which characters can be matched, or null if any character can be matched. |
| MaxCount | Gets the maximum number of repeated characters that are matched. |
| MinCount | Gets the minimum number of repeated characters that are matched. |
Methods
| Name | Description |
|---|---|
| GetValueMatches(PasswordMatchContext) | Gets the contexts that result from matching the value at the current position of the given context, in the order they should be tried. Repeats and trailing separators do not need to be handled by the implementation. |