private void OnLocationChanged() { if (LocationChanged != null) { ILocation currentLocation = GetCurrentLocation(); LocationChanged(this, new LocationChangedEventArgs(currentLocation)); } }