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

Category PdfViolationCategory

Machine-readable classification of the violation.

Severity PdfViolationSeverity

Whether this violation blocks merging (Fatal) or is advisory.

Message string

Human-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

PdfViolationCategory

Message

Human-readable explanation of what is wrong and how to correct it.

public string Message { get; init; }

Property Value

string

Severity

Whether this violation blocks merging (Fatal) or is advisory.

public PdfViolationSeverity Severity { get; init; }

Property Value

PdfViolationSeverity