Summary
Comprises all of the loaded, and available, tasks.
Use these static methods to register, initialize and create a task.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TypeFactory"]
class Type type-node
Syntax
public sealed class TypeFactory
Properties
| Name | Value | Summary |
|---|---|---|
| DataTypeBuilders | Data |
Gets the list of loaded
NAnt.Core.DataTypeBaseBuilder instances.
static
|
| FilterBuilders | Filter |
Gets the list of loaded
NAnt.Core.Filters.FilterBuilder instances.
static
|
| TaskBuilders | Task |
Gets the list of loaded
NAnt.Core.TaskBuilder instances.
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| CreateDataType |
DataTypeBase |
Creates the
NAnt.Core.DataTypeBase instance.
static
|
| CreateFilter |
Filter |
static
|
| CreateTask |
Task |
Creates a new
NAnt.Core.Task instance for the given XML and
NAnt.Core.Project.
static
|
| ScanAssembly |
bool |
Scans the given assembly for tasks, types, functions and filters.
static
|
| ScanAssembly |
bool |
Scans the given assembly for tasks, types, functions and filters.
static
|
| ScanDir |
void |
Scans the path for any task assemblies and adds them.
static
|
