PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Threading Namespace/Deadlock­Detection­Policy Class/Deadlock­Detection­Policy Methods/Deadlock­Detection­Policy.​Is­Enabled Method

DeadlockDetectionPolicy.IsEnabled Method

Determines whether an Assembly has been instrumented for deadlock detection.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public static bool IsEnabled(
	Assembly assembly
)

Parameters

assembly
Type: System.Reflection.Assembly
An Assembly.

Return Value

Type: Boolean
true if assembly has been instrumented for deadlock detection, otherwise false.
See Also