public void LogCommentConversion(XDoc spaceManifest, string space, RemoteComment comment, string mtPath) {
            string xpath = string.Format("comment[@c.commentid='{0}']", comment.id);
            XDoc commentXml = spaceManifest[xpath];

            if(commentXml.IsEmpty) {
                spaceManifest.Start("comment");
                spaceManifest.Attr("c.space", space);
                spaceManifest.Attr("c.commentid", comment.id);
                spaceManifest.Attr("c.pageid", comment.pageId);
                spaceManifest.Attr("c.path", Utils.GetUrlLocalUri(_confBaseUrl, comment.url, true, false));
                spaceManifest.Attr("mt.path", mtPath);
                spaceManifest.End();
            }
        }
Exemple #2
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);
 }
Exemple #3
0
 /// <remarks/>
 public void editCommentAsync(string in0, RemoteComment in1) {
     this.editCommentAsync(in0, in1, null);
 }
Exemple #4
0
 public RemoteComment editComment(string in0, RemoteComment in1) {
     object[] results = this.Invoke("editComment", new object[] {
                 in0,
                 in1});
     return ((RemoteComment)(results[0]));
 }
Exemple #5
0
 /// <remarks/>
 public void addCommentAsync(string in0, RemoteComment in1) {
     this.addCommentAsync(in0, in1, null);
 }