Summary
Base class for all validator attributes.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Attributes - Base Types
-
- Attribute
- Derived Types
graph BT
Type-->Base0["Attribute"]
Type["ValidatorAttribute"]
class Type type-node
Derived0["BooleanValidatorAttribute"]-->Type
click Derived0 "/api/NAnt.Core.Attributes/BooleanValidatorAttribute"
Derived1["DateTimeValidatorAttribute"]-->Type
click Derived1 "/api/NAnt.Core.Attributes/DateTimeValidatorAttribute"
Derived2["Int32ValidatorAttribute"]-->Type
click Derived2 "/api/NAnt.Core.Attributes/Int32ValidatorAttribute"
Derived3["StringValidatorAttribute"]-->Type
click Derived3 "/api/NAnt.Core.Attributes/StringValidatorAttribute"
Syntax
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public abstract class ValidatorAttribute : Attribute
Attributes
Type | Description |
---|---|
Attribute |
Methods
Name | Value | Summary |
---|---|---|
Validate |
void |
Validates the specified value.
|