PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Create­Task­Delegate Delegate

CreateTaskDelegate Delegate

Delegate of a method that creates a task. Used with ProjectConfiguration.[!:ProjectConfiguration.TaskFactories] or constructors of TaskTypeConfiguration.

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 delegate Task CreateTaskDelegate(
	IExpressionEvaluator project
)

Parameters

project
Type: PostSharp.Sdk.Extensibility.IExpressionEvaluator
Interface that allows for evaluation of properties defined in the project.

Return Value

Type: Task
A new Task, or null if no task has been created (in which case the task is silently ignored).
See Also