PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Threading­Instrumentation Namespace/Threading­Instrumentation­Policy Class/Threading­Instrumentation­Policy Methods

ThreadingInstrumentationPolicy Methods

The ThreadingInstrumentationPolicy type exposes the following members.

Methods
  NameDescription
Public methodCompileTimeInitialize
Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method.
(Inherited from AssemblyLevelAspect.)
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from AssemblyLevelAspect.)
Public methodCompileTimeValidate(Assembly)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from AssemblyLevelAspect.)
Public methodGetAspectConfiguration
Method invoked at build tome to get the imperative configuration of the current Aspect.
(Inherited from Aspect.)
Public methodStatic memberInterceptMethodsReturningTask
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also