private static void OnClientStarted (Client client) { client.Started -= OnClientStarted; Action<Client> handler = client_started; if (handler != null) { handler (client); } }