예제 #1
0
        private void UpdateViewModelImpl()
        {
            Commits.ForEach(commit => commit.WindowWidth = Width);
            CommitDetailsViewModel.NotifyAll();
            NotifyAll();

            VirtualItemsSource.DataChanged(width);

            UpdateStatusIndicators();
        }
        void RefreshSelectedBranch()
        {
            BranchViewModel = RepositoriesViewModel.SelectedBranch;
            if (BranchViewModel?.MergeRequest == null)
            {
                Commits = Enumerable.Empty <CommitViewModel>();
                return;
            }
            var mergeRequest = BranchViewModel.MergeRequest;

            Commits = mergeRequest.Commits;
            Commits.ForEach(x => x.UpdateBuilds());
        }
예제 #3
0
 void AddToQueue(Commits commits)
 {
     commits.ForEach(_ => AddToQueue(_));
 }