Method Permutations
Permutations(IEnumerable<PasswordMatcher>, bool)
Creates a matcher that matches the given matchers in any order, with each matcher used at most once.
Declaration
public static PasswordMatcher Permutations(IEnumerable<PasswordMatcher> matchers, bool mustMatchAllMatchers = false)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<PasswordMatcher> | matchers | The matchers to permute. Each must be a distinct instance, and optional matchers are not permitted. |
| bool | mustMatchAllMatchers | Whether every matcher must match for the permutation to match. If false, any non-empty subset of the matchers can match. |
Returns
| Type | Description |
|---|---|
| PasswordMatcher |