Validator MatchesCondition T  Method Kentico 8.0 API Reference
Validates whether the specified value meets the specified condition.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

source
Type: T
A value to validate.
condition
Type: OnlineSystem Func T, OnlineBoolean 
A condition to match.
errorMessage
Type: OnlineSystem String
The error message to report when validation fails.

Return Value

Type: Validator
See Also