-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(C#)导出时将枚举定义中的标识名作为enum的description属性? #94
Comments
Reekin
changed the title
导出时将枚举定义中的标识名作为enum的description属性?
(C#)导出时将枚举定义中的标识名作为enum的description属性?
Nov 18, 2021
代码输出是中立的,有需求自己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.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
游戏中有不少地方需要做从枚举值到标识名的转换,这样可以避免再维护一张从枚举值到中文名的映射表。
另外,想了解一下为什么现在的注释是双斜杠加在枚举值后方而不是以///
The text was updated successfully, but these errors were encountered: