IActor Interface |
Interface implemented by the ActorAttribute aspect.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface IActor : IDispatcherObject, IThreadAware
The IActor type exposes the following members.
Name | Description | |
---|---|---|
ConcurrencyController |
Gets the concurrency controller for the current object.
(Inherited from IThreadAware.) | |
Dispatcher |
Gets the IActorDispatcher for the current actor.
|
Name | Description | |
---|---|---|
OnParentControllerChanged |
Notifies the object that the effective controller of it's parent has changed.
(Inherited from IThreadAware.) |
Name | Description | |
---|---|---|
AcquireAccess(ObjectAccessLevel) | Overloaded.
Acquires access to given object and returns the ConcurrentAccessToken.
(Defined by ThreadAwareExtensions.) | |
AcquireAccess(ObjectAccessLevel, ConcurrentAccessToken) | Overloaded.
Acquires access for a given object and gets the ConcurrentAccessToken as a reference parameter.
(Defined by ThreadAwareExtensions.) | |
AcquireAccessAsync |
Asynchronously acquires access for a given object.
(Defined by ThreadAwareExtensions.) |