private async void OnSetAppRegion() { if (await GaeUtils.SetAppRegionAsync(CredentialsStore.Default.CurrentProjectId, _dataSource.Value)) { Refresh(); } }
private async Task OnSetAppRegionCommandAsync() { if (await GaeUtils.SetAppRegionAsync(CredentialsStore.Default.CurrentProjectId, CurrentDataSource)) { PublishDialog.TrackTask(ValidateGcpProjectState()); } }