Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseValidator.Validate(Object, IDictionary, IValidationErrors) Method

Validates the specified object.

[Visual Basic]
Public MustOverride Overloads Sub Validate( _
   ByVal validationContext As Object, _
   ByVal contextParams As IDictionary, _
   ByVal errors As IValidationErrors _
) _
    Implements IValidator.Validate
[C#]
public abstract bool Validate(
   object validationContext,
   IDictionary contextParams,
   IValidationErrors errors
);

Parameters

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

Return Value

True if validation was successful, False otherwise.

Implements

IValidator.Validate

See Also

BaseValidator Class | Spring.Validation Namespace | BaseValidator.Validate Overload List