PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility Namespace / Task Class / Task Methods / Task.​Is­Required Method

Task.IsRequired Method

Determines whether the current task is required by another task in the project.

Namespace:  PostSharp.Sdk.Extensibility
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public bool IsRequired()

Return Value

Type: Boolean
true if the current task is required by another task in the project, otherwise false.
See Also