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

TypeFactory.CreateTask Method 

[This is preliminary documentation and subject to change.]

Creates a new Task instance for the given XML and Project.

[Visual Basic]
Public Shared Function CreateTask( _
   ByVal taskNode As XmlNode, _
   ByVal proj As Project _
) As Task
[C#]
public static Task CreateTask(
   XmlNode taskNode,
   Project proj
);

Parameters

taskNode
The XML to initialize the task with.
proj
The Project that the Task belongs to.

Return Value

The new Task instance.

Remarks

Missing <remarks> documentation for M:NAnt.Core.TypeFactory.CreateTask(System.Xml.XmlNode,NAnt.Core.Project)

See Also

TypeFactory Class | NAnt.Core Namespace