Skip to content
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 OptionParameter/Operand data validation #11

Open
Nick-Lucas opened this issue Dec 26, 2016 · 1 comment
Open

Support OptionParameter/Operand data validation #11

Nick-Lucas opened this issue Dec 26, 2016 · 1 comment

Comments

@Nick-Lucas
Copy link
Owner

Nick-Lucas commented Dec 26, 2016

Such as Range(0, 60) for numbers, Regex() validation, etc.

This is a nice to have, although quite easy to do by the application developer, and potentially more flexible that way.

@Nick-Lucas Nick-Lucas changed the title Support OptionParameter/Operand validation Support OptionParameter/Operand data validation Dec 27, 2016
@Nick-Lucas
Copy link
Owner Author

Ideas for what could be provided:

  • ValidateRange(0, 1, inclusive|exclusive)
  • ValidateRegEx(string)
  • ValidateCustom(Func<T, bool>>)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant