Project.

CreateTask(XmlNode, Target) Method

Summary

Creates a new NAnt.Core.Task from the given System.Xml.XmlNode within a NAnt.Core.Target.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Project

Syntax

public Task CreateTask(XmlNode taskNode, Target target)

Parameters

Name Type Description
taskNode XmlNode The NAnt.Core.Task definition.
target Target The owner NAnt.Core.Target.

Return Value

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