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

Add Guard.Against.Negative ? #50

Closed
elendil-software opened this issue Jan 9, 2020 · 2 comments
Closed

Add Guard.Against.Negative ? #50

elendil-software opened this issue Jan 9, 2020 · 2 comments

Comments

@elendil-software
Copy link
Contributor

I wonder if it would make sense to add a Guard.Against.Negative Clause ?

To avoid negative values I could use an uint type. But in some situation I prefer to use int. Especially when the input value come from outside of my projects to avoid the need of cast.

If this suggestion make sense I can do a pull request.

@ardalis
Copy link
Owner

ardalis commented Jan 16, 2020

Sure, sounds like an easy one.

@ardalis
Copy link
Owner

ardalis commented Feb 13, 2020

This is done.

@ardalis ardalis closed this as completed Feb 13, 2020
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

2 participants