Project.

Project(string, Level, int) Constructor

Summary

Initializes a new NAnt.Core.Project class with the given source, message threshold and indentation level.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Project

Syntax

public Project(string uriOrFilePath, Level threshold, int indentLevel)

Remarks

If the source is a uri of form 'file:///path' then use the path part.

Parameters

Name Type Description
uriOrFilePath string

The full path to the build file.

This can be of any form that XmlDocument.Load(string) accepts.

threshold Level The message threshold.
indentLevel int The project indentation level.

Return Value

Type Description
void