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: 2023.0.3.0 (2023.0.3.0)
C#
public static bool IsEnabled( Assembly assembly )
Parameters
- assembly
- Type: System.Reflection.Assembly
An Assembly.
Return Value
Type: Booleantrue if assembly has been instrumented for deadlock detection, otherwise false.