public record CheckFinding
One finding of zplcore check with its source position.
Constructors
| Signature | Description |
# CheckFinding() | |
Properties
| Property | Type | Description |
Bounds { get; init; } | ComplianceRect? | Area on the label in dots. |
required Check { get; init; } | string | Check that reported it ("render", "layout", "comply gs1-logistic", "scan-proof", "snapshot", "printer", "baseline"). |
Column { get; init; } | int | 1-based column (0 when unknown). |
LabelIndex { get; init; } | int | 0-based label, -1 for the file. |
Length { get; init; } | int | Length of the source span (0 when unknown). |
Line { get; init; } | int | 1-based line (0 when unknown). |
required Message { get; init; } | string | Human-readable message, prefixed with the label number. |
Offset { get; init; } | int | Character offset into the ZPL (-1 when unknown). |
required RuleId { get; init; } | string | Rule id: ZPL3xxx (compliance), SPxxxx (scan-proof), ZTxxxx (testing: render, layout, snapshot, baseline, printer). |
required Severity { get; init; } | CheckSeverity | Severity. |
Suggestion { get; init; } | string | Optional fix suggestion. |