DispatcherFactory Class
Provides implementations of the IDispatcher interface.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public static class DispatcherFactory : Object
Methods
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 System.Threading.SynchronizationContext or a WPF |
GetDispatcherForSynchronizationContext(SynchronizationContext) | Gets an implementation of the IDispatcher interface for a given System.Threading.SynchronizationContext. |
GetDispatcherForWindowsDispatcher(Object) | Gets an implementation of the IDispatcher interface for a given
instance of the |