public static Server Create() { if (_instance == null) { _instance = new Server(); } return _instance; }
private void DoWork(object workItemState) { var aleContext = new AleContext(_context); EventLoop.Pend(() => { Server.Create().Execute(aleContext); if (_callback != null) { _callback(this); } }); }