Summary
Provides the abstract base class for types.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Base Types
-
- Object
- Element
- Derived Types
graph BT
Type-->Base0["Element"]
click Base0 "/api/NAnt.Core/Element"
Base0-->Base1["Object"]
Type["DataTypeBase"]
class Type type-node
Derived0["PatternSet"]-->Type
click Derived0 "/api/NAnt.Core.Types/PatternSet"
Derived1["FileSet"]-->Type
click Derived1 "/api/NAnt.Core.Types/FileSet"
Derived2["Categories"]-->Type
click Derived2 "/api/NAnt.NUnit2.Types/Categories"
Derived3["PathSet"]-->Type
click Derived3 "/api/NAnt.Core.Types/PathSet"
Derived4["WarningAsError"]-->Type
click Derived4 "/api/NAnt.DotNet.Types/WarningAsError"
Derived5["ModuleSet"]-->Type
click Derived5 "/api/NAnt.DotNet.Types/ModuleSet"
Derived6["Proxy"]-->Type
click Derived6 "/api/NAnt.Core.Types/Proxy"
Derived7["Credential"]-->Type
click Derived7 "/api/NAnt.Core.Types/Credential"
Derived8["DataTypeCollectionBase"]-->Type
click Derived8 "/api/NAnt.DotNet.Types/DataTypeCollectionBase"
Derived9["FilterChain"]-->Type
click Derived9 "/api/NAnt.Core.Filters/FilterChain"
Syntax
[Serializable()]
public abstract class DataTypeBase : Element
Attributes
Type | Description |
---|---|
Serializable |
Properties
Name | Value | Summary |
---|---|---|
CanBeReferenced | bool |
Gets a value indicating whether a reference to the type can be
defined.
|
CustomXmlProcessing | bool |
Gets a value indicating whether the element is performing additional
processing using the
NAnt.Core.Element.XmlNode that was used to
initialize the element.
Inherited from Element
|
ID | string |
The ID used to be referenced later.
|
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 data type.
|
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
|
RefID | string |
The ID to use as the reference.
|
XmlNode | XmlNode |
Gets or sets the XML node of the element.
Inherited from Element
|
Methods
Name | Value | Summary |
---|---|---|
CopyTo |
void |
Copies all instance data of the
NAnt.Core.DataTypeBase to a given
NAnt.Core.DataTypeBase .
|
CopyTo |
void |
Copies all instance data of the
NAnt.Core.Element to a given
NAnt.Core.Element .
Inherited from Element
|
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.
|
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
|
Log |
void |
Logs a message with the given priority.
Inherited from Element
|
Log |
void |
Logs a message with the given priority.
Inherited from Element
|
Reset |
void |
Should be overridden by derived classes. clones the referenced types
data into the current instance.
|