public static uint RunTimeout (uint milliseconds, TimeoutHandler handler) { if (timeout_handler == null) { throw new NotImplementedException ("The application client must provide a TimeoutImplementationHandler"); } return timeout_handler (milliseconds, handler); }
private void OnClientStarted(Client client) { Application.ClientStarted -= OnClientStarted; Application.RunTimeout(1000, delegate { startup_job.Finish(); return(false); }); }