Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseSimpleValidator.Validate(Object, IDictionary, IValidationErrors) Method

Validates the specified object.

[Visual Basic]
Public Overrides Overloads Sub Validate( _
   ByVal validationContext As Object, _
   ByVal contextParams As IDictionary, _
   ByVal errors As IValidationErrors _
) _
    Implements IValidator.Validate
[C#]
public override 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

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