コード例 #1
0
ファイル: Form1.cs プロジェクト: RobRobertsCE/ReleaseNotes
        private async Task LoadSelectedRangeReleaseNotesAsync()
        {
            IWorkItemRepository workItemRepository = _provider.GetRequiredService <IWorkItemRepository>();

            ReleaseTag @base = lstStartRelease.SelectedItem as ReleaseTag;
            ReleaseTag head  = lstEndRelease.SelectedItem as ReleaseTag;

            IList <WorkItem> workItems = await workItemRepository.GetReleaseWorkItemsInRangeAsync(@base, head);

            DisplayWorkItems(workItems);
        }