Post­Sharp Documentation / 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: 5.0.38.0 (5.0.38.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