Validates whether the specified value meets the specified condition.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- source
- Type: T
A value to validate.
- condition
- Type: System Func T, Boolean
A condition to match.
- errorMessage
- Type: System String
The error message to report when validation fails.
Return Value
Type: ValidatorSee Also