Extension methods for the System.Windows.Threading.Dispatcher object that provides an easy way for delayed execution of code.
MarkdownMonster.Windows.DispatcherExtensions
public static class DispatcherExtensions : object
Class Members
Member | Description | |
---|---|---|
Delay |
Dispatcher.Delay Extension method that delay executes an action. public static void Delay(Dispatcher disp, int delayMs, Action action, DispatcherPriority priority) public static void Delay(Dispatcher disp, int delayMs, Action |
|
DelayAsync |
Dispatcher.Delay Extension method that delay executes an action. This version awaits both the delay and the synchronized action public static Task DelayAsync(Dispatcher disp, int delayMs, Action public static Task DelayAsync(Dispatcher disp, int delayMs, Action action, DispatcherPriority priority) |
|
RunSync |
Allows running an Async Operation synchronously by waiting for a result. public static void RunSync(Dispatcher disp,
Func |
|
RunSync |
public static TResult RunSync |
Requirements
Namespace: MarkdownMonster.WindowsAssembly: markdownmonster.exe
© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic