UpdateGeocachesAsync() public méthode

public UpdateGeocachesAsync ( Core db ) : System.Threading.Tasks.Task
db Core
Résultat System.Threading.Tasks.Task
 private async void Button_Click(object sender, RoutedEventArgs e)
 {
     if (Core.ApplicationData.Instance.ActiveDatabase != null)
     {
         Import imp = new Import();
         await imp.UpdateGeocachesAsync(Core.ApplicationData.Instance.ActiveDatabase);
         Close();
     }
 }
Exemple #2
0
        private async void Button_Click(object sender, RoutedEventArgs e)
        {
            if (Core.ApplicationData.Instance.ActiveDatabase != null)
            {
                Import imp = new Import();
                await imp.UpdateGeocachesAsync(Core.ApplicationData.Instance.ActiveDatabase);

                Close();
            }
        }