コード例 #1
0
        public RemotePage AppendContentToPage(long pageId, string pageContent)
        {
            RemotePage remotePage = null;
            this.ExecuteLoggedIn(
                (confluence, token) =>
                {
                    var page = confluence.getPage(token, pageId);
                    page.content += pageContent;
                    var options = new RemotePageUpdateOptions { versionComment = "Updated as a result of publishing package version and sending notification email" };
                    var updatedPage = confluence.updatePage(token, page, options);
                    remotePage = updatedPage;
                });

            return remotePage;
        }
コード例 #2
0
 /// <remarks/>
 public void updatePageAsync(string in0, RemotePage in1, RemotePageUpdateOptions in2, object userState) {
     if ((this.updatePageOperationCompleted == null)) {
         this.updatePageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnupdatePageOperationCompleted);
     }
     this.InvokeAsync("updatePage", new object[] {
                                                     in0,
                                                     in1,
                                                     in2}, this.updatePageOperationCompleted, userState);
 }
コード例 #3
0
 /// <remarks/>
 public void updatePageAsync(string in0, RemotePage in1, RemotePageUpdateOptions in2) {
     this.updatePageAsync(in0, in1, in2, null);
 }
コード例 #4
0
 /// <remarks/>
 public System.IAsyncResult BeginupdatePage(string in0, RemotePage in1, RemotePageUpdateOptions in2, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("updatePage", new object[] {
                                                            in0,
                                                            in1,
                                                            in2}, callback, asyncState);
 }
コード例 #5
0
 public RemotePage updatePage(string in0, RemotePage in1, RemotePageUpdateOptions in2) {
     object[] results = this.Invoke("updatePage", new object[] {
                                                                   in0,
                                                                   in1,
                                                                   in2});
     return ((RemotePage)(results[0]));
 }