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: 2023.0.3.0 (2023.0.3.0)
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: TaskA new Task, or null if no task has been created (in which case the task is silently ignored).