TypeFactory.

CreateTask(XmlNode, Project) Method

Summary

Creates a new NAnt.Core.Task instance for the given XML and NAnt.Core.Project.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
TypeFactory

Syntax

public static Task CreateTask(XmlNode taskNode, Project proj)

Parameters

Name Type Description
taskNode XmlNode The XML to initialize the task with.
proj Project The NAnt.Core.Project that the NAnt.Core.Task belongs to.

Return Value

Type Description
Task The new NAnt.Core.Task instance.