Summary
Indicates that the property should be treated as an XML element and
further processing should be done.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Attributes - Base Types
-
- Attribute
- BaseBuildAttribute
- Derived Types
graph BT
Type-->Base0["BaseBuildAttribute"]
click Base0 "/api/NAnt.Core.Attributes/BaseBuildAttribute"
Base0-->Base1["Attribute"]
Type["BuildElementAttribute"]
class Type type-node
Derived0["FileSetAttribute"]-->Type
click Derived0 "/api/NAnt.Core.Attributes/FileSetAttribute"
Derived1["BuildElementArrayAttribute"]-->Type
click Derived1 "/api/NAnt.Core.Attributes/BuildElementArrayAttribute"
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method, Inherited = true)]
public class BuildElementAttribute : BaseBuildAttribute
Remarks
The XML format is like this:
<task>
<elementName ...>
<morestuff />
</elementName>
</task>
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
Build |
Initializes a new instance of the NAnt.Core.Attributes.BuildElementAttribute with the
specified name.
|
Properties
Name | Value | Summary |
---|---|---|
Name | string |
Gets or sets the name of the item.
Inherited from BaseBuildAttribute
|
ProcessXml | bool |
Used to specify how this element will be handled as the XML is parsed
and given to the element.
Inherited from BaseBuildAttribute
|
Required | bool |
Gets or sets a value indicating whether the item is required.
Inherited from BaseBuildAttribute
|