zplCore.comzplCore.com

ComplianceReporter

public sealed class ComplianceReporter

Collects the findings of one rule on one label (passed to ComplianceRule.Check).

Methods

Method SignatureReturnsDescription
# Add(string message, ComplianceElement? element = default, ComplianceSeverity? severity = default, ComplianceRect? bounds = default, string? suggestion = default)voidReports 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.