This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

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: 5.0.33.0 (5.0.33.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