-
Notifications
You must be signed in to change notification settings - Fork 40
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
Support for Enum Flags? #19
Comments
Interesting! Thanks, [mobile] Is there a way to provide enum parameters which are defined as flags
How to call the method with Csv and Excel enabled?
Thanks in advance Reply to this email directly or view it on GitHub: |
Apparently, flag enums are already supported using a comma: That's how Enum.Parse works, which is used by CLAP. Cheers! |
Don't forget to set a proper flag value to each enum value: [Flags] otherwise, the compiler will set the default values, which are 0,1,2,3,... which are not real flags. |
Thanks for your help Adrian, I'll implement your suggestions as soon as possible! Thomas |
Adrian, works like a charm :-) Thanks a lot! Thomas |
First I want to thank you for your great work!
Is there a way to provide enum parameters which are defined as flags and or'ed together?
How to call the method with Csv and Excel enabled?
Thanks in advance
Thomas
The text was updated successfully, but these errors were encountered: