Method GetIgnoreReason
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
GetIgnoreReason(IReadOnlyList<string>?)
Reads the reason a query's repetition was declared intentional.
public static string? GetIgnoreReason(IReadOnlyList<string>? tags)
Parameters
tagsIReadOnlyList<string>The tags recognized on a command.
Returns
Remarks
The reason is what makes an ignore directive reviewable: "turn this off" is not something a reviewer can evaluate, but "bounded provider lookup, at most three sections" is.