Summary
Used to indicate that a property should be able to be converted into a
bool
.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Attributes - Base Types
-
- Attribute
- ValidatorAttribute
graph BT
Type-->Base0["ValidatorAttribute"]
click Base0 "/api/NAnt.Core.Attributes/ValidatorAttribute"
Base0-->Base1["Attribute"]
Type["BooleanValidatorAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public sealed class BooleanValidatorAttribute : ValidatorAttribute
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
Boolean |
Initializes a new instance of the NAnt.Core.Attributes.BooleanValidatorAttribute
class.
|
Methods
Name | Value | Summary |
---|---|---|
Validate |
void |
Checks if the specified value can be converted to a
bool .
|