Skip to content

Class XmpFacturXConformanceLevelMappingExtensions

Mapping methods for FacturXDotNet.Models.XMP.XmpFacturXConformanceLevel.

Assembly: FacturXDotNet.dll
csharp
public static class XmpFacturXConformanceLevelMappingExtensions

Methods

ToXmpFacturXConformanceLevelString(XmpFacturXConformanceLevel)

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

csharp
public static ReadOnlySpan<char> ToXmpFacturXConformanceLevelString(this XmpFacturXConformanceLevel conformanceLevel)
Returns

System.ReadOnlySpan<System.Char>

Parameters
TypeName
FacturXDotNet.Models.XMP.XmpFacturXConformanceLevelconformanceLevel

ToXmpFacturXConformanceLevelOrNull(ReadOnlySpan<char>)

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

csharp
public static XmpFacturXConformanceLevel? ToXmpFacturXConformanceLevelOrNull(this ReadOnlySpan<char> value)
Returns

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

Parameters
TypeName
System.ReadOnlySpan<System.Char>value

ToXmpFacturXConformanceLevel(ReadOnlySpan<char>)

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

csharp
public static XmpFacturXConformanceLevel ToXmpFacturXConformanceLevel(this ReadOnlySpan<char> value)
Returns

FacturXDotNet.Models.XMP.XmpFacturXConformanceLevel

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

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

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