NAnt SDK Documentation - v0.92

Element.AttributeConfigurator Constructor 

Initializes a new instance of the Element.AttributeConfigurator class for the given Element.

[Visual Basic]
Public Sub New( _
   ByVal element As Element, _
   ByVal elementNode As XmlNode, _
   ByVal properties As PropertyDictionary, _
   ByVal targetFramework As FrameworkInfo _
)
[C#]
public Element.AttributeConfigurator(
   Element element,
   XmlNode elementNode,
   PropertyDictionary properties,
   FrameworkInfo targetFramework
);

Parameters

element
The Element for which an Element.AttributeConfigurator should be created.
elementNode
The XmlNode to initialize the Element with.
properties
The PropertyDictionary to use for property expansion.
targetFramework
The framework that the Element should target.

Exceptions

Exception Type Condition
ArgumentNullException

element is a null reference (Nothing in Visual Basic).

-or-

elementNode is a null reference (Nothing in Visual Basic).

-or-

properties is a null reference (Nothing in Visual Basic).

See Also

Element.AttributeConfigurator Class | NAnt.Core Namespace