Skip to content

Add ValidatePositive and ValidateNonNegative attributes #2634

@iSazonov

Description

@iSazonov

From @lzybkr #2492

it seems like we should have ValidatePositive and ValidateNonNegative attributes.

as replacement of [ValidateRange((int)1, Int32.MaxValue)] and [ValidateRange((int)0, Int32.MaxValue)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions