Element.

GetAttributeConfigurationNode(FrameworkInfo, string) Method

Summary

Locates the XML node for the specified attribute in the project configuration node.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Element

Syntax

protected virtual XmlNode GetAttributeConfigurationNode(FrameworkInfo framework, string attributeName)

Remarks

If there's a valid current framework, the configuration section for that framework will first be searched. If no corresponding configuration node can be located in that section, the framework-neutral section of the project configuration node will be searched.

Parameters

Name Type Description
framework FrameworkInfo The framework to use to obtain framework specific information, or null if no framework specific information should be used.
attributeName string The name of attribute for which the XML configuration node should be located.

Return Value

Type Description
XmlNode The XML configuration node for the specified attribute, or null if no corresponding XML node could be located.