Validation Attributes
Synopsis
Swiftly implement user-friendly input validation.
Key Features
- Easy to use
- End-User-Friendly error on validation failure
- Supported on PS3+
Description
Validation Attributes allow you to custom tailor validation as part of the parameter-binding, regardless of the expected parameter type.
All PSFramework
-provided validation attributes support custom error messages, to optimize the user experience.
In depth guides
- Validating using regex patterns: PsfValidatePattern
- Validating using scriptblocks: PsfValidateScript
- Validating using dynamic validate sets: PsfValidateSet
- Validating input data integrity: PsfValidateTrustedData