Catel.Services.LocationServiceBase.RaiseLocationChanged C# (CSharp) Method

RaiseLocationChanged() protected method

Called when the current location has changed.
protected RaiseLocationChanged ( ) : void
return void
        protected void RaiseLocationChanged()
        {
            var locationChanged = LocationChanged;
            if (locationChanged != null)
            {
                var currentLocation = GetCurrentLocation();
                var value = new LocationChangedEventArgs(currentLocation);

                _dispatcherService.BeginInvoke(() => locationChanged(this, value));
            }
        }