PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Dependency­Configuration Class / Dependency­Configuration Constructor / Dependency­Configuration Constructor (String, Boolean)

DependencyConfiguration Constructor (String, Boolean)

Initializes a new DependencyConfiguration and specifies the task type and requirement level.

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 DependencyConfiguration(
	string taskType,
	bool required
)

Parameters

taskType
Type: System.String
Name of the type on which the current task has a dependency.
required
Type: System.Boolean
true if the other task is required, false if it is optional.
See Also