NAnt SDK Documentation - v0.85-nightly-2005-11-09

Project.CtorHelper Method 

[This is preliminary documentation and subject to change.]

Inits stuff:

TypeFactory: Calls Initialize and AddProject

Log.IndentSize set to 12

Project properties are initialized ("nant.* stuff set")

NAnt Props: nant.filename nant.version nant.location nant.project.name nant.project.buildfile (if doc has baseuri) nant.project.basedir nant.project.default = defaultTarget nant.tasks.[name] = true nant.tasks.[name].location = AssemblyFileName
[Visual Basic]
Protected Sub CtorHelper( _
   ByVal doc As XmlDocument, _
   ByVal threshold As Level, _
   ByVal indentLevel As Integer _
)
[C#]
protected void CtorHelper(
   XmlDocument doc,
   Level threshold,
   int indentLevel
);

Parameters

doc
An XmlDocument representing the project definition.
threshold
The project message threshold.
indentLevel
The project indentation level.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Project.CtorHelper(System.Xml.XmlDocument,NAnt.Core.Level,System.Int32)

Exceptions

Exception TypeCondition
ArgumentNullExceptiondoc is a null reference (Nothing in Visual Basic).

See Also

Project Class | NAnt.Core Namespace