Summary
Groups a set of tasks to execute when a condition is met.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Tasks - Base Types
-
- Object
- Element
- ElementContainer
graph BT
Type-->Base0["ElementContainer"]
click Base0 "/api/NAnt.Core/ElementContainer"
Base0-->Base1["Element"]
click Base1 "/api/NAnt.Core/Element"
Base1-->Base2["Object"]
Type["ChooseTask.When"]
class Type type-node
Syntax
public class ChooseTask.When : ElementContainer
Properties
Name | Value | Summary |
---|---|---|
CustomXmlProcessing | bool |
Gets a value indicating whether the element is performing additional
processing using the
System.Xml.XmlNode that was use to
initialize the element.
Inherited from ElementContainer
|
Location | Location |
Gets or sets the location in the build file where the element is
defined.
Inherited from Element
|
Name | string |
Gets the name of the XML element used to initialize this element.
Inherited from Element
|
NamespaceManager | XmlNamespaceManager |
Gets or sets the
System.Xml.XmlNamespaceManager .
Inherited from Element
|
Parent | Object |
Gets or sets the parent of the element.
Inherited from Element
|
Project | Project |
Gets or sets the
NAnt.Core.Element.Project to which this element belongs.
Inherited from Element
|
Properties | PropertyDictionary |
Gets the properties local to this
NAnt.Core.Element and the
NAnt.Core.Element.Project .
Inherited from Element
|
Test | bool |
Used to test arbitrary boolean expression.
|
XmlNode | XmlNode |
Gets or sets the XML node of the element.
Inherited from Element
|
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Inherited from ElementContainer
|
CopyTo |
void |
Copies all instance data of the
NAnt.Core.Element to a given
NAnt.Core.Element .
Inherited from Element
|
Create |
DataTypeBase |
Inherited from ElementContainer
|
CreateChildTask |
Task |
Creates the child task specified by the passed XmlNode.
Inherited from ElementContainer
|
Execute |
void |
Executes this instance.
|
ExecuteChildTasks |
void |
Creates and executes the embedded (child XML nodes) elements.
Inherited from ElementContainer
|
Get |
XmlNode |
Locates the XML node for the specified attribute in the project
configuration node.
Inherited from Element
|
Get |
XmlNode |
Inherited from Element
|
GetLocation |
Location |
Retrieves the location in the build file where the element is
defined.
Inherited from Element
|
Initialize |
void |
Derived classes should override to this method to provide extra
initialization and validation not covered by the base class.
Inherited from Element
|
Initialize |
void |
Performs default initialization.
Inherited from Element
|
Initialize |
Element |
Initializes the build element.
Inherited from Element
static
|
InitializeElement |
void |
Derived classes should override to this method to provide extra
initialization and validation not covered by the base class.
Inherited from Element
|
InitializeXml |
void |
Initializes all build attributes and child elements.
Inherited from Element
|
IsPrivateXmlElement |
bool |
Inherited from ElementContainer
|
Log |
void |
Logs a message with the given priority.
Inherited from Element
|
Log |
void |
Logs a message with the given priority.
Inherited from Element
|