NAnt SDK Documentation - v0.92 |

# Project Constructor (XmlDocument, Level, Int32, XmlNode)

Initializes a new Project class with the given document, message threshold and indentation level, and using the specified XmlNode to load internal configuration settings.

[Visual Basic]
Overloads Public Sub New( _
ByVal doc As XmlDocument, _
ByVal threshold As Level, _
ByVal indentLevel As Integer, _
ByVal configurationNode As XmlNode _
)
[C#]
public Project(
XmlDocument doc,
Level threshold,
int indentLevel,
XmlNode configurationNode
);

#### Parameters

doc
  Any valid build format will do.
threshold
  The message threshold.
indentLevel
  The project indentation level.
configurationNode
  The XmlNode NAnt should use to initialize configuration settings.

#### Remarks

This constructor is useful for developers using NAnt as a class library.

#### See Also

Project Class | NAnt.Core Namespace | Project Constructor Overload List