Class ConflictingAttachmentRule

Namespace
EInvoice.FacturX.Validation.Rules
Assembly
EInvoice.FacturX.dll

Fails when the PDF already contains a Factur-X or ZUGFeRD attachment that would conflict with the new one added during merging.

public sealed class ConflictingAttachmentRule : IPdfValidationRule
Inheritance
ConflictingAttachmentRule
Implements
Inherited Members

Methods

Evaluate(PdfDocument)

Inspects document and yields any violations detected. Returns an empty sequence when the document passes this rule.

public IEnumerable<PdfViolation> Evaluate(PdfDocument document)

Parameters

document PdfDocument

Returns

IEnumerable<PdfViolation>