mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
To improve code clarity and give better error messages when using ValidateRange, you can now specify: ``` [ValidateRange(ValidateRangeKind.Positive)] ``` instead of ``` [ValidateRange(1, 2147483647)] ``` Valid kinds are: Positive Negative NonPostiive NonNegative