madskristensen / TypeScriptDefinitionGenerator

A Visual Studio extension
Other
85 stars 46 forks source link

ENSDC: Accept namespace datacontract attribute for enums #50

Closed anttipih-predisys closed 3 years ago

anttipih-predisys commented 3 years ago

The GetNamespace method for CodeClass items used the GetDataContractName method to check for a DataContract(Namespace) attribute before defaulting to the GetNamespace method. An overload implements GetDataContractName so that GetNamespace can check for data namespace contracts for CodeEnum items as well.

madskristensen commented 3 years ago

Thanks