PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / IActor­Dispatcher Interface

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: (
public interface IActorDispatcher : IDispatcher

The IActorDispatcher type exposes the following members.

Public propertyIsInvokeSupported
Determines whether the Invoke(SendOrPostCallback, Object) method is supported.
(Inherited from IDispatcher.)
Public propertySynchronizationContext
Gets the SynchronizationContext associated with the current dispatcher.
(Inherited from IDispatcher.)
Public methodBeginInvoke
Queues an action for asynchronous execution.
(Inherited from IDispatcher.)
Public methodCheckAccess
Determines whether the current thread has access to the current dispatcher.
(Inherited from IDispatcher.)
Public methodInitialize
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.
Public methodInvoke
Executes an action synchronously.
(Inherited from IDispatcher.)
See Also