Project.

Project(XmlDocument, Level, int, XmlNode) Constructor

Summary

Initializes a new NAnt.Core.Project class with the given document, message threshold and indentation level, and using the specified System.Xml.XmlNode to load internal configuration settings.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Project

Syntax

public Project(XmlDocument doc, Level threshold, int indentLevel, XmlNode configurationNode)

Remarks

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

Parameters

Name Type Description
doc XmlDocument Any valid build format will do.
threshold Level The message threshold.
indentLevel int The project indentation level.
configurationNode XmlNode The System.Xml.XmlNode NAnt should use to initialize configuration settings.

Return Value

Type Description
void