Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseValidatorGroup.ValidateGroup Method

Actual implementation how to validate the specified object.

[Visual Basic]
Protected MustOverride Sub ValidateGroup( _
   ByVal contextParams As IDictionary, _
   ByVal errors As IValidationErrors, _
   ByVal validationContext As Object _
)
[C#]
protected abstract bool ValidateGroup(
   IDictionary contextParams,
   IValidationErrors errors,
   object validationContext
);

Parameters

contextParams
Additional context parameters.
errors
ValidationErrors instance to add error messages to.
validationContext
The object to validate.

Return Value

True if validation was successful, False otherwise.

See Also

BaseValidatorGroup Class | Spring.Validation Namespace