Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseValidationAction.EvaluateWhen Method

Evaluates 'when' expression.

[Visual Basic]
Protected Sub EvaluateWhen( _
   ByVal rootContext As Object, _
   ByVal contextParams As IDictionary _
)
[C#]
protected bool EvaluateWhen(
   object rootContext,
   IDictionary contextParams
);

Parameters

rootContext
Root context to use for expression evaluation.
contextParams
Additional context parameters.

Return Value

True if the condition is true, False otherwise.

See Also

BaseValidationAction Class | Spring.Validation Namespace