Esempio n. 1
0
        private async void LoadData_Clicked(object sender, EventArgs e)
        {
            BitChangeSetManagerContext context = new BitChangeSetManagerContext(new Uri($"{BaseAddress}/odata/BitChangeSetManager/"));

            context.SetBearerToken(_tokenResponse);

            DataServiceCollection <ChangeSetDto> changeSets = new DataServiceCollection <ChangeSetDto>(context);

            ChangeSetsListView.ItemsSource = changeSets;

            await changeSets.LoadQueryAsync(context.ChangeSets);
        }