Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISBNValidator.Validate(Object) Method

Validates the supplied objectToValidate.

[Visual Basic]
Protected Overrides Overloads Sub Validate( _
   ByVal objectToValidate As Object _
)
[C#]
protected override bool Validate(
   object objectToValidate
);

Parameters

objectToValidate
The object to validate.

Return Value

if the supplied objectToValidate is valid ISBN.

Remarks

In the case of the ISBNValidator class, the test should be a string variable that will be evaluated and the object obtained as a result of this evaluation will be tested using the ISBN-10 or ISBN-13 validation rules.

See Also

ISBNValidator Class | Spring.Validation.Validators Namespace | ISBNValidator.Validate Overload List