ComplianceReporter
public sealed class ComplianceReporterCollects the findings of one rule on one label (passed to ComplianceRule.Check).
Methods
| Method Signature | Returns | Description |
|---|---|---|
# Add(string message, ComplianceElement? element = default, ComplianceSeverity? severity = default, ComplianceRect? bounds = default, string? suggestion = default) | void | Reports a finding. With an element the finding gets its command, source position and bounds (unless bounds is given); without one it applies to the whole label. message: What is wrong, with the measured and the required value. · element: Element the finding refers to (null: label-wide). · severity: Overrides the rule's default severity. · bounds: Area on the label (default: the element's symbol or bounds). · suggestion: How to fix it. |

