Class PdfViolation
- Namespace
- EInvoice.FacturX.Validation
- Assembly
- EInvoice.FacturX.dll
Describes a single conformance violation found in an input PDF.
public sealed record PdfViolation : IEquatable<PdfViolation>
- Inheritance
-
PdfViolation
- Implements
- Inherited Members
Constructors
PdfViolation(PdfViolationCategory, PdfViolationSeverity, string)
Describes a single conformance violation found in an input PDF.
public PdfViolation(PdfViolationCategory Category, PdfViolationSeverity Severity, string Message)
Parameters
CategoryPdfViolationCategoryMachine-readable classification of the violation.
SeverityPdfViolationSeverityWhether this violation blocks merging (Fatal) or is advisory.
MessagestringHuman-readable explanation of what is wrong and how to correct it.
Properties
Category
Machine-readable classification of the violation.
public PdfViolationCategory Category { get; init; }
Property Value
Message
Human-readable explanation of what is wrong and how to correct it.
public string Message { get; init; }
Property Value
Severity
Whether this violation blocks merging (Fatal) or is advisory.
public PdfViolationSeverity Severity { get; init; }