NAnt SDK Documentation - v0.92

Package Properties

The properties of the Package class are listed below. For a complete list of Package class members, see the Package Members topic.

Public Instance Properties

IfDefined Indicates if the package should be passed to the task. If true then the package will be passed; otherwise, skipped. The default is true.
Name (inherited from Element) Gets the name of the XML element used to initialize this element.
NamespaceManager (inherited from Element) Gets or sets the XmlNamespaceManager.
PackageName Name of the package to reference. Multiple package can be specified with a single element as a semi-colon separated list of package names.
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.
UnlessDefined Indicates if the package should not be passed to the task. If false then the package will be passed; otherwise, skipped. The default is false.

Protected Instance Properties

CustomXmlProcessing (inherited from Element) Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element.
Location (inherited from Element) Gets or sets the location in the build file where the element is defined.
XmlNode (inherited from Element) Gets or sets the XML node of the element.

See Also

Package Class | NAnt.DotNet.Types Namespace