Partilhar via


ITaskFactory Interface

Definition

Interface that a task factory Instance should implement

public interface class ITaskFactory
public interface ITaskFactory
type ITaskFactory = interface
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