(C#)导出时将枚举定义中的标识名作为enum的description属性?
Reekin opened this issue · comments
Reekin commented
Davy xu commented
代码输出是中立的,有需求自己fork改
…---原始邮件---
发件人: ***@***.***>
发送时间: 2021年11月19日(周五) 凌晨3:48
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [davyxu/tabtoy] 导出时将枚举定义中的标识名作为enum的description属性? (Issue #94)
游戏中有不少地方需要做从枚举值到标识名的转换,这样可以避免再维护一张从枚举值到中文名的映射表。
另外,想了解一下为什么现在的注释是双斜杠加在枚举值后方而不是以///
的形式加在枚举值上方呢?前者无法在输入枚举值时提示注释内容
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.