Provides implementations of the IDispatcher interface.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public static class DispatcherFactoryMethods
| Name | Description |
|---|---|
| GetDispatcherForCurrentContext() | Gets an implementation of the IDispatcher interface that is suitable for dispatching
to the current context. This method requires that the current thread is associated to
a SynchronizationContext or a WPF |
| GetDispatcherForSynchronizationContext(SynchronizationContext) | Gets an implementation of the IDispatcher interface for a given SynchronizationContext. |
| GetDispatcherForWindowsDispatcher(object) | Gets an implementation of the IDispatcher interface for a given
instance of the |