Class PdfValidationResult
- Namespace
- EInvoice.FacturX.Validation
- Assembly
- EInvoice.FacturX.dll
The outcome of running Validate(Stream) against an input PDF.
public sealed class PdfValidationResult
- Inheritance
-
PdfValidationResult
- Inherited Members
Constructors
PdfValidationResult(IEnumerable<PdfViolation>)
Initialises a result from the collected violations.
public PdfValidationResult(IEnumerable<PdfViolation> violations)
Parameters
violationsIEnumerable<PdfViolation>
Properties
IsValid
public bool IsValid { get; }
Property Value
Violations
All violations detected during validation, ordered by the sequence in which they were found.
public IReadOnlyList<PdfViolation> Violations { get; }