Skip to content

Class XmpPdfAPropertyCategoryMappingExtensions

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

Assembly: FacturXDotNet.dll
csharp
public static class XmpPdfAPropertyCategoryMappingExtensions

Methods

ToXmpPdfAPropertyCategoryString(XmpPdfAPropertyCategory)

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

csharp
public static string ToXmpPdfAPropertyCategoryString(this XmpPdfAPropertyCategory category)
Returns

System.String

Parameters
TypeName
FacturXDotNet.Models.XMP.XmpPdfAPropertyCategorycategory

ToXmpPdfAPropertyCategoryOrNull(ReadOnlySpan<char>)

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

csharp
public static XmpPdfAPropertyCategory? ToXmpPdfAPropertyCategoryOrNull(this ReadOnlySpan<char> value)
Returns

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

Parameters
TypeName
System.ReadOnlySpan<System.Char>value

ToXmpPdfAPropertyCategory(ReadOnlySpan<char>)

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

csharp
public static XmpPdfAPropertyCategory ToXmpPdfAPropertyCategory(this ReadOnlySpan<char> value)
Returns

FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory

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

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

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