Beispiel #1
0
 /// <remarks/>
 public void editCommentAsync(string in0, RemoteComment in1, object userState) {
     if ((this.editCommentOperationCompleted == null)) {
         this.editCommentOperationCompleted = new System.Threading.SendOrPostCallback(this.OneditCommentOperationCompleted);
     }
     this.InvokeAsync("editComment", new object[] {
                 in0,
                 in1}, this.editCommentOperationCompleted, userState);
 }
Beispiel #2
0
 public RemoteComment editComment(string in0, RemoteComment in1) {
     object[] results = this.Invoke("editComment", new object[] {
                 in0,
                 in1});
     return ((RemoteComment)(results[0]));
 }
Beispiel #3
0
 /// <remarks/>
 public void editCommentAsync(string in0, RemoteComment in1) {
     this.editCommentAsync(in0, in1, null);
 }
Beispiel #4
0
 /// <remarks/>
 public void hasPermissionToEditCommentAsync(string in0, RemoteComment in1) {
     this.hasPermissionToEditCommentAsync(in0, in1, null);
 }
Beispiel #5
0
 public bool hasPermissionToEditComment(string in0, RemoteComment in1) {
     object[] results = this.Invoke("hasPermissionToEditComment", new object[] {
                 in0,
                 in1});
     return ((bool)(results[0]));
 }
Beispiel #6
0
 /// <remarks/>
 public void addCommentAsync(string in0, string in1, RemoteComment in2) {
     this.addCommentAsync(in0, in1, in2, null);
 }
Beispiel #7
0
 public void addComment(string in0, string in1, RemoteComment in2) {
     this.Invoke("addComment", new object[] {
                 in0,
                 in1,
                 in2});
 }
Beispiel #8
0
        internal void AddComment(JiraIssue issue, string comment)
        {
            if (String.IsNullOrEmpty(comment)) return;

            RemoteComment rc = new RemoteComment();
            rc.author = CurrentUser.Id;
            rc.body = comment;
            rc.created = DateTime.Now;

            _service.addComment(_token, issue.DisplayId, rc);
        }