We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
From @lzybkr #2492
it seems like we should have ValidatePositive and ValidateNonNegative attributes.
ValidatePositive
ValidateNonNegative
as replacement of [ValidateRange((int)1, Int32.MaxValue)] and [ValidateRange((int)0, Int32.MaxValue)]
[ValidateRange((int)1, Int32.MaxValue)]
[ValidateRange((int)0, Int32.MaxValue)]
From @lzybkr #2492
as replacement of
[ValidateRange((int)1, Int32.MaxValue)]and[ValidateRange((int)0, Int32.MaxValue)]