コード例 #1
0
        public async Task <AddressResult> Search(string postalCode)
        {
            Debug.WriteLine(postalCode);

            try
            {
                var result = await _parent.Search(postalCode);

                Debug.WriteLine(result);

                return(result);
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);

                throw;
            }
        }
コード例 #2
0
 private async void button1_Click(object sender, EventArgs e)
 {
     AddressResult = await _addressSearchService.Search(input.Text);
 }