Decorate Arguments or OptionFlags to declare validation procedures. Can be used multiple times per entity.
Performs required validations and throws if a validation fails.
This validation will have no effect if set to false.
See Implementation
Decorate Arguments or OptionFlags to declare validation procedures. Can be used multiple times per entity.