Token.

IfDefined Property

Summary

Indicates if the token should be used to replace values. If true then the token will be used; otherwise, not. The default is true.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
Token

Syntax

[TaskAttribute("if", Required = false)]
[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