コード例 #1
0
        private async void SuggestionChosen(object selectedItem)
        {
            if (selectedItem == null)
            {
                return;
            }

            UserSelectedSuggestion = (ReadableLocationName)selectedItem;
            LocationQueryResults   = await _reverseGeolocationServiceService
                                     .FindLocationAsync(UserSelectedSuggestion.FullLocationName)
                                     .ConfigureAwait(true);

            Messenger.Default.Send(LocationQueryResults.FirstOrDefault());
        }