private void OnListenerPositionError(object sender, PositionErrorEventArgs e) { StopListening(); var error = ErrorOccured; if (error != null) { error(this, e); } }
private void OnPositionError(PositionErrorEventArgs e) { StopListening(); var error = ErrorOccured; if (error != null) { error(this, e); } }
private void OnPositionError(PositionErrorEventArgs e) { PositionError?.Invoke(this, e); }
private void OnListenerPositionError(object sender, PositionErrorEventArgs e) { StopListening(); ErrorOccured?.Invoke(this, e); }
void OnPositionError(PositionErrorEventArgs e) { StopListening(); ErrorOccured?.Invoke(this, e); }