PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / IActor­Controller Interface / IActor­Controller Methods

IActorController Methods

The IActorController type exposes the following members.

Methods
  NameDescription
Public methodAcquireAccess
Acquires access on the entity for the current thread and waits synchronously if access cannot be immediately acquired.
(Inherited from IConcurrencyController.)
Public methodAcquireAccessAsync
Asynchronously acquires access on the entity for the current thread and returns an async awaiter.
(Inherited from IConcurrencyController.)
Public methodCheckAccess
Determines whether the current thread has a specified level of access to the entity.
(Inherited from IConcurrencyController.)
Public methodRequireAccess
Determines whether the current thread has a specified level of access to the entity and throws an exception if not.
(Inherited from IConcurrencyController.)
See Also