AbortBuild() public method

public AbortBuild ( NGitLab.Models.MergeRequest mergeRequest, Build build = null ) : void
mergeRequest NGitLab.Models.MergeRequest
build Build
return void
コード例 #1
0
        void PerformAbortTest(CommitViewModel commit)
        {
            var actualCommit = commit ?? BranchViewModel.MergeRequest.Commits.FirstOrDefault();

            BranchViewModel.AbortBuild(BranchViewModel.MergeRequest.MergeRequest, actualCommit?.Build.Build);
        }