TaskBuilder Class

Summary

Class to create NAnt tasks from an existing assembly.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Base Types
graph BT Type-->Base0["ExtensionBuilder"] click Base0 "/api/NAnt.Core.Extensibility/ExtensionBuilder" Base0-->Base1["Object"] Type["TaskBuilder"] class Type type-node

Syntax

public class TaskBuilder : ExtensionBuilder

Constructors

Name Summary
TaskBuilder(Assembly, string) Creates a new instance of the NAnt.Core.TaskBuilder class for the specified NAnt.Core.Task class in the specified System.Reflection.Assembly.

Properties

Name Value Summary
ClassName string
Gets the name of the NAnt.Core.Task class that can be created using this NAnt.Core.TaskBuilder.
TaskName string
Gets the name of the task which the NAnt.Core.TaskBuilder can create.

Methods

Name Value Summary
CreateTask() Task
Creates the task with the previously passed assembly and name.