摘要:
UI调度:public class Dispatcher : Handler { public override void HandleMessage(Message msg) { var ai = msg.Obj as ActionItem; if (ai != null) { try { ai.Result = ai.d.DynamicInvoke(ai.args); } catch (TargetInvocationException e) { ai.Error = e.InnerException; } catch (Exception e) { ai.Error = e; } if. 阅读全文