[Proposal] C# Feature Support partial enum or enum Inherit #7969
Unanswered
wangronghua
asked this question in
Language Ideas
Replies: 1 comment
-
Enumerations have never supported additional values by consumers, and probably never will. It's too complicated a thing for such niche cases. If you want a way to "register" things in your library, a GUID to whatever dictionary ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Now there are three modules each responsible for three people, with a log type enumeration. Each module will have multiple tables, and each table corresponds to an enumeration item in the log type enumeration. A partial for the enumeration type is needed, so there is no need for multiple people to modify the same enumeration file
or
Inherit is based on the following requirements. In the basic class library, an error type enumeration will be used, which defines various error types. This enumeration will also be extended in the business module to include some business-related error types
Beta Was this translation helpful? Give feedback.
All reactions