PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / IThread­Aware Interface / IThread­Aware Methods

IThreadAware Methods

The IThreadAware type exposes the following members.

Public methodOnParentControllerChanged
Notifies the object that the effective controller of it's parent has changed.
Extension Methods
Public Extension MethodAcquireAccess(ObjectAccessLevel)Overloaded.
Acquires access to given object and returns the ConcurrentAccessToken.
(Defined by ThreadAwareExtensions.)
Public Extension MethodAcquireAccess(ObjectAccessLevel, ConcurrentAccessToken)Overloaded.
Acquires access for a given object and gets the ConcurrentAccessToken as a reference parameter.
(Defined by ThreadAwareExtensions.)
Public Extension MethodAcquireAccessAsync
Asynchronously acquires access for a given object.
(Defined by ThreadAwareExtensions.)
See Also