AddCommentToMergeRequest() public method

public AddCommentToMergeRequest ( NGitLab.Models.MergeRequest mergeRequest, string comment ) : NGitLab.Models.Comment
mergeRequest NGitLab.Models.MergeRequest
comment string
return NGitLab.Models.Comment
コード例 #1
0
ファイル: Program.cs プロジェクト: Xarlot/DXVcs2Git
 static void AssignBackConflictedMergeRequest(GitLabWrapper gitLabWrapper, RegisteredUsers users, MergeRequest mergeRequest, string comment) {
     User author = users.GetUser(mergeRequest.Author.Username);
     var mr = gitLabWrapper.UpdateMergeRequestAssignee(mergeRequest, author.UserName);
     gitLabWrapper.AddCommentToMergeRequest(mr, comment);
 }