Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseValidator.Validate(Object, IValidationErrors) Method

Validates the specified object.

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

Parameters

validationContext
The object to validate.
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