PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Task­Type­Configuration Class / Task­Type­Configuration Constructor / Task­Type­Configuration Constructor (String, Create­Task­Delegate)

TaskTypeConfiguration Constructor (String, CreateTaskDelegate)

Initializes a new TaskTypeConfiguration with programmatic instantiation of the Task that is a pure service provider, i.e. the Execute() method should not be executed.

Namespace:  PostSharp.Sdk.Extensibility.Configuration
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public TaskTypeConfiguration(
	string name,
	CreateTaskDelegate createTaskDelegate
)

Parameters

name
Type: System.String
Task name.
createTaskDelegate
Type: PostSharp.Sdk.Extensibility.Configuration.CreateTaskDelegate
Delegate of the method that will create the task.
See Also