NAnt SDK Documentation - v0.85-nightly-2005-11-09

Target Members

Target overview

Public Instance Constructors

Target Constructor Initializes a new instance of the Target class.

Public Instance Properties

Dependencies A collection of target names that must be executed before this target.
DependsListString Space separated list of targets that this target depends on.
Description The description of the target.
Executed This indicates whether the target has already executed.
IfCondition If true then the target will be executed; otherwise, skipped. The default is true.
IfDefined Gets a value indicating whether the target should be executed.
Name The name of the target.
NamespaceManager (inherited from Element) Gets or sets the XmlNamespaceManager.
Parent (inherited from Element) Gets or sets the parent of the element.
Project (inherited from Element) Gets or sets the Project to which this element belongs.
Properties (inherited from Element) Gets the properties local to this Element and the Project.
UnlessCondition Opposite of IfDefined. If false then the target will be executed; otherwise, skipped. The default is false.
UnlessDefined Gets a value indicating whether the target should NOT be executed.

Public Instance Methods

Clone Creates a shallow copy of the Target.
Equals (inherited from Object) 
Execute Executes dependent targets first, then the target.
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
Initialize (inherited from Element) Performs default initialization.
Log (inherited from Element)Overloaded. Logs a message with the given priority.
ToString (inherited from Object) 

See Also

Target Class | NAnt.Core Namespace