NAnt SDK Documentation - v0.92

BooleanValidatorAttribute.Validate Method 

Checks if the specified value can be converted to a Boolean.

[Visual Basic]
Overrides Public Sub Validate( _
   ByVal value As Object _
)
[C#]
public override void Validate(
   object value
);

Parameters

value
The value to be checked.

Exceptions

Exception Type Condition
ValidationException value cannot be converted to a Boolean.

See Also

BooleanValidatorAttribute Class | NAnt.Core.Attributes Namespace