Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IValidator.Validate(Object, IDictionary, IValidationErrors) Method

Validates the specified object.

[Visual Basic]
Public Sub Validate( _
   ByVal validationContext As Object, _
   ByVal contextParams As IDictionary, _
   ByVal errors As IValidationErrors _
)
[C#]
bool Validate(
   object validationContext,
   IDictionary contextParams,
   IValidationErrors errors
);

Parameters

validationContext
The object to validate.
contextParams
Additional context parameters.
errors
The ValidationErrors instance to add any error messages to in the case of validation failure.

Return Value

if validation was successful.

See Also

IValidator Interface | Spring.Validation Namespace | IValidator.Validate Overload List