private void OnConnectionChecked(HeartbeatWorkerEventArgs e) { var handler = ConnectionChecked; if (handler != null) handler(this, e); }