Add Guard.IsDefined<TEnum>(...) (and maybe more enum related features) #644
benjamin-hejl
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
FYI @Sergio0694 transferred from WCT discussions. Seems like a nice idea. @benjamin-hejl what would Do you have any usage patterns from examples of APIs you're trying to guard currently? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am starting to use CommunityToolkit.Diagnostics, mainly the Guard and ThrowHelper classes but I have noticed lack of enum related checks. Among other things there could be methods like:
I should be able to implement this feature.
Beta Was this translation helpful? Give feedback.
All reactions