LocalizedEnumConverter

Prev Next

Json.NET converter that writes enum values as localized display names. Resolution order: 1) DisplayAttribute on enum member (ResourceType + Name) 2) ResourceManager discovered on enum type via custom attribute (e.g., ResourceManagerAttribute) 3) Fallback to raw enum name Deserialization is intentionally not implemented.

Properties

Property Type Description Details
CanRead boolean Computed (read-only)
CanWrite boolean Computed (read-only)

Package: HomagGroup.HomagConnect.Base.Contracts 2.2.5-preview.98

Source: LocalizedEnumConverter.cs