Beispiel #1
0
 public static TR DispatchBy <TR>(this Func <TR> func, DispatcherObject dispatcherObj) => dispatcherObj.DispatcherInvoke(obj => func());
Beispiel #2
0
 public static void DispatchBy(this Action action, DispatcherObject dispatcherObj) => dispatcherObj.DispatcherInvoke(obj => action());