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 |
||
---|---|---|
.. | ||
Api | ||
Basic | ||
ETS | ||
Help | ||
Module | ||
ParameterBinding | ||
Remoting | ||
Attributes.Tests.ps1 | ||
BasicEngine.Tests.ps1 | ||
DefaultCommands.Tests.ps1 | ||
InitialSessionState.Tests.ps1 | ||
Jobs.Tests.ps1 | ||
PropertyAccessor.Tests.ps1 | ||
SemanticVersion.Tests.ps1 | ||
ValidateAttributes.Tests.ps1 |