IDispatcherObject Interface |
Interface implemented by objects that are whose access to methods is
being controlled by a Dispatcher.
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 IDispatcherObject
The IDispatcherObject type exposes the following members.
Name | Description | |
---|---|---|
Dispatcher |
Gets the IDispatcher that controls access to methods
of the current object.
|
If you need to implement the IDispatcherObject interface in a class, consider using the DispatcherFactory class to get an implementation of the IDispatcher interface in your instance constructor.