Ich möchte Enum-Attribute für die WCF-Client-Anwendung bereitstellen, aber ich kann nur Enum-Werte sehen.
Hier ist die Aufzählung:
public enum TemplateType
{
[EnumDescription("Property Particulars")]
[EnumValue("PropertyParticulars")]
PropertyParticulars = 1,
[EnumDescription("Short Format Lists")]
[EnumValue("ShortFormatLists")]
ShortFormatLists,
[EnumDescription("Client Letters")]
[EnumValue("ClientLetters")]
ClientLetters,
[EnumDescription("Labels")]
[EnumValue("Labels")]
Labels
}
Wie kann ich die Attribute Beschreibung und Wert sichtbar machen?