Files
2026-04-17 14:55:32 -04:00

1.5 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/DatabaseImporter/DatabaseImport/Converters/EnumDescriptionTypeConverter.cs
2026-04-17T16:29:45.029341+00:00 zai-org/GLM-5-FP8 1 b3c152d40e6fbba4

Converters

Purpose

This module provides WPF data binding converters for the DatabaseImporter subsystem. The EnumDescriptionTypeConverter class enables display of enum description attributes instead of raw enum values in UI bindings, improving user-facing representation of enumerated types.

Public Interface

EnumDescriptionTypeConverter (inherits from EnumConverter)

  • public EnumDescriptionTypeConverter(Type type) — Constructor that accepts the enum Type to be converted and passes it to the base EnumConverter constructor.

Invariants

  • The converter must be instantiated with a valid enum Type; behavior is undefined for non-enum types (delegated to base EnumConverter behavior).

Dependencies

  • Depends on: System, System.ComponentModel (specifically EnumConverter).
  • Depended by: Unclear from source alone; likely used in WPF XAML bindings within the DatabaseImporter module.

Gotchas

  • The class contains no overridden conversion methods (e.g., ConvertTo, ConvertFrom). The actual description-display logic referenced in the documentation comment is not present in this source file. It is unclear whether this is incomplete, relies on base class behavior, or the implementation exists elsewhere.