Skip to content

Class XmpPdfAConformanceMappingExtensions

Mapping methods for the FacturXDotNet.Models.XMP.XmpPdfAConformanceLevel enumeration.

Assembly: FacturXDotNet.dll
csharp
public static class XmpPdfAConformanceMappingExtensions

Methods

ToXmpPdfAConformanceLevel(XmpPdfAConformanceLevel)

Convert the FacturXDotNet.Models.XMP.XmpPdfAConformanceLevel to its string representation.

csharp
public static ReadOnlySpan<char> ToXmpPdfAConformanceLevel(this XmpPdfAConformanceLevel conformanceLevel)
Returns

System.ReadOnlySpan<System.Char>

Parameters
TypeName
FacturXDotNet.Models.XMP.XmpPdfAConformanceLevelconformanceLevel

ToXmpPdfAConformanceLevelOrNull(ReadOnlySpan<char>)

Convert the string to its FacturXDotNet.Models.XMP.XmpPdfAConformanceLevel representation.

csharp
public static XmpPdfAConformanceLevel? ToXmpPdfAConformanceLevelOrNull(this ReadOnlySpan<char> value)
Returns

System.Nullable<FacturXDotNet.Models.XMP.XmpPdfAConformanceLevel>

Parameters
TypeName
System.ReadOnlySpan<System.Char>value

ToXmpPdfAConformanceLevel(ReadOnlySpan<char>)

Convert the string to its FacturXDotNet.Models.XMP.XmpPdfAConformanceLevel representation.

csharp
public static XmpPdfAConformanceLevel ToXmpPdfAConformanceLevel(this ReadOnlySpan<char> value)
Returns

FacturXDotNet.Models.XMP.XmpPdfAConformanceLevel

Parameters
TypeName
System.ReadOnlySpan<System.Char>value
Exceptions

System.ArgumentOutOfRangeException
Thrown when the value is not a valid FacturXDotNet.Models.XMP.XmpPdfAConformanceLevel.

The tools are open source and released under the MIT License, feel free to use, modify, and share.