ObjectSelectorComponentBaseTProperties, TSelectorItemValidate Method |
Determines whether the specified object is valid.
Only invoked if validation by validation attributes passes for all fields.
Namespace: Kentico.Components.Web.Mvc.Selectors.InternalAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntaxpublic override IEnumerable<ValidationResult> Validate(
ValidationContext validationContext
)
Parameters
- validationContext
- Type: System.ComponentModel.DataAnnotationsValidationContext
The validation context.
Return Value
Type:
IEnumerableValidationResultA collection that holds failed-validation information.
Implements
IValidatableObjectValidate(ValidationContext)
See Also