IActorDispatcher Interface |
Augments the IDispatcher interface with an Initialize() method, which is invoked after the actor constructor has been invoked.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.5.19.0 (6.5.19.0)
C#
public interface IActorDispatcher : IDispatcher
The IActorDispatcher type exposes the following members.
Name | Description | |
---|---|---|
IsInvokeSupported |
Determines whether the Invoke(SendOrPostCallback, Object) method is supported.
(Inherited from IDispatcher.) | |
SynchronizationContext |
Gets the SynchronizationContext associated with the current dispatcher.
(Inherited from IDispatcher.) |
Name | Description | |
---|---|---|
BeginInvoke |
Queues an action for asynchronous execution.
(Inherited from IDispatcher.) | |
CheckAccess |
Determines whether the current thread has access to the current dispatcher.
(Inherited from IDispatcher.) | |
Initialize |
Indicates that the controller should start enforcing access. Before this method is invoked, the CheckAccess()
method should always return true, allowing any access to the object. This mechanism allows the actor constructor to have full access on itself.
| |
Invoke |
Executes an action synchronously.
(Inherited from IDispatcher.) |