public TesterObject() { _Disposed = false; _TesterState = new TesterState(); try { _CallbackProxyList = new ProxyListClass(); } catch { } // TODO : The following complex processes should not exist in the constructor and should be considered for removal _BladeEventsThread = new Thread(doBladeEvents); _BladeEventsThread.IsBackground = true; _BladeEventsThread.Start(); }
public TesterObject() { _Disposed = false; _Exit = false; _Escape = false; try { _CallbackProxyList = new ProxyListClass(); } catch { } // TODO : 构造函数里面不应该存在如下的复杂过程,应考虑移出去 _BladeEventsThread = new Thread(doBladeEvents); _BladeEventsThread.IsBackground = true; _BladeEventsThread.Start(); }