Method GetMatches
GetMatches(PasswordMatchContext)
Gets the contexts that result from matching this matcher at the current position of the given context.
Declaration
public IReadOnlyList<PasswordMatchContext> GetMatches(PasswordMatchContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| PasswordMatchContext | context | The context to match against. |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<PasswordMatchContext> | The contexts that result from each match, or an empty list if there were no matches. |
Remarks
Results are cached per matcher and position for the duration of a password check, and only the first result for each distinct end position is retained. Results are returned in the order they were produced by GetMatchesCore(PasswordMatchContext).