18 lines
825 B
Markdown
18 lines
825 B
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common.SharedResource/EnumDescriptionTypeConverterShared.cs
|
||
|
|
generated_at: "2026-04-17T16:26:37.696457+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "9ff3afac75b0cf88"
|
||
|
|
---
|
||
|
|
|
||
|
|
# DTS.Common.SharedResource
|
||
|
|
|
||
|
|
### Purpose
|
||
|
|
This module provides utility components for shared resource handling across the application. Specifically, it contains the `EnumDescriptionTypeConverterShared` class, which is a Type Converter designed to display user-friendly descriptions for enumeration values in UI layers (such as WPF) instead of the raw enum names. It supports localization by attempting to resolve description strings from a resource manager before falling back to the attribute text.
|
||
|
|
|
||
|
|
### Public Interface
|
||
|
|
|
||
|
|
**Class: `EnumDescriptionTypeConverterShared`**
|
||
|
|
Inherits from `System.ComponentModel
|