ITaskFactory Interface

Definition

Interface that a task factory Instance should implement

C#
public interface ITaskFactory
Derived

Properties

FactoryName

Gets the name of the factory.

TaskType

Gets the type of the task this factory will instantiate. Implementations must return a value for this property.

Methods

CleanupTask(ITask)

Cleans up any context or state that may have been built up for a given task.

CreateTask(IBuildEngine)

Create an instance of the task to be used.

GetTaskParameters()

Get the descriptions for all the task's parameters.

Initialize(String, IDictionary<String,TaskPropertyInfo>, String, IBuildEngine)

Initializes this factory for instantiating tasks with a particular inline task block.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1