NAnt.Core.Element.GetAttributeConfigurationNode C# (CSharp) Method

GetAttributeConfigurationNode() protected method

Locates the XML node for the specified attribute in the project configuration node.
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.
protected GetAttributeConfigurationNode ( FrameworkInfo framework, string attributeName ) : XmlNode
framework FrameworkInfo The framework to use to obtain framework specific information, or if no framework specific information should be used.
attributeName string The name of attribute for which the XML configuration node should be located.
return System.Xml.XmlNode
        protected virtual XmlNode GetAttributeConfigurationNode(FrameworkInfo framework, string attributeName)
        {
            return GetAttributeConfigurationNode(Project.ConfigurationNode,
                framework, attributeName);
        }

Same methods

Element::GetAttributeConfigurationNode ( XmlNode configSection, FrameworkInfo framework, string attributeName ) : XmlNode