Hello,
I have some suggestions for features I've come across so far that'd be nice to have.
- For flags enums, a
MyEnumExtensions.All field that resolves to a bitwise OR of every value would be very useful, no longer requiring the user to define one for many situations. This also prevents the Length field from being inaccurate in such a case.
- Also related, adding an
ExcludeFromLength boolean field to the EnumMemberAttribute could be useful. All occurrences of it would be counted and subtracted from Length.
- For all enums,
myEnum.Next() and myEnum.Previous() are commonly implemented and could instead be generated. To be more thorough, an ExcludeFromPreviousNext field could be added to EnumMemberAttribute as well.
Thanks
Hello,
I have some suggestions for features I've come across so far that'd be nice to have.
MyEnumExtensions.Allfield that resolves to a bitwise OR of every value would be very useful, no longer requiring the user to define one for many situations. This also prevents the Length field from being inaccurate in such a case.ExcludeFromLengthboolean field to theEnumMemberAttributecould be useful. All occurrences of it would be counted and subtracted from Length.myEnum.Next()andmyEnum.Previous()are commonly implemented and could instead be generated. To be more thorough, anExcludeFromPreviousNextfield could be added toEnumMemberAttributeas well.Thanks