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