NAnt SDK Documentation - v0.92 |

# TaskBuilder Constructor

Creates a new instance of the TaskBuilder class for the specified Task class in the specified Assembly.

[Visual Basic]
Overloads Public Sub New( _
ByVal assembly As Assembly, _
ByVal className As String _
)
[C#]
public TaskBuilder(
Assembly assembly,
string className
);

#### Parameters

assembly
  The Assembly containing the Task.
className
  The class representing the Task.

#### Remarks

An ExtensionAssembly for the specified Assembly is cached for future use.

#### See Also

TaskBuilder Class | NAnt.Core Namespace