PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Thread­Safety­Policy Class / Thread­Safety­Policy Methods
ThreadSafetyPolicy Methods

The ThreadSafetyPolicy type exposes the following members.

Methods
  Name Description
Public method ValidateCode (Overrides ScalarConstraint.ValidateCode(Object).)
Public method ValidateConstraint
Validates the fact that the constraint has been applied on a valid element of code. When this method returns false, the constraint is silently ignored.
(Inherited from Constraint.)
Extension Methods
  Name Description
Public Extension Method QueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also