Condividi tramite


RoslynCodeTaskFactory Class

Definition

public ref class RoslynCodeTaskFactory sealed : Microsoft::Build::Framework::ITaskFactory
public sealed class RoslynCodeTaskFactory : Microsoft.Build.Framework.ITaskFactory
type RoslynCodeTaskFactory = class
    interface ITaskFactory
Public NotInheritable Class RoslynCodeTaskFactory
Implements ITaskFactory
Inheritance
RoslynCodeTaskFactory
Implements

Constructors

RoslynCodeTaskFactory()

Properties

FactoryName

Gets the name of the factory.

TaskType

Gets the Type of the compiled task.

Methods

CleanupTask(ITask)

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

CreateTask(IBuildEngine)

Creates 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