Table of Contents

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

tags IReadOnlyList<string>

The tags recognized on a command.

Returns

string

The reason text, or null when none was supplied.

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.