CompilerWarning.

IfDefined Property

Summary

If true then the element will be processed; otherwise, skipped. The default is true.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Containing Type
CompilerWarning

Syntax

[TaskAttribute("if")]
[BooleanValidator()]
public bool IfDefined { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool