This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

IActorController Interface

Specific definition of the IConcurrencyController for the ActorThreadingModel.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
C#
public interface IActorController : IConcurrencyController, 
	IDispatcherObject

The IActorController type exposes the following members.

Properties
  NameDescription
Public propertyDispatcher
Gets the IActorDispatcher for the current actor.
Public propertyIsReadOnly
Determines whether the entity is currently read-only.
(Inherited from IConcurrencyController.)
Public propertyIsSharable
Determines whether the entity can currently be accessed concurrently by several threads.
(Inherited from IConcurrencyController.)
Public propertyThreadingModel
Gets the ThreadingModel implemented by the current controller.
(Inherited from IConcurrencyController.)
Top
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.)
Top
See Also