Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConditionValidator.Validate(Object) Method

Evaluates the test using condition evaluator.

[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.

Remarks

Test can be any logical expression that is supported by the Spring.NET logical expression evaluation engine, and can use any variables that can be resolved by the variable resolver used by the validation engine.

See Also

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