예제 #1
0
        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();
            }
        }
예제 #2
0
파일: Reference.cs 프로젝트: heran/DekiWiki
 /// <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);
 }
예제 #3
0
파일: Reference.cs 프로젝트: heran/DekiWiki
 /// <remarks/>
 public void editCommentAsync(string in0, RemoteComment in1) {
     this.editCommentAsync(in0, in1, null);
 }
예제 #4
0
파일: Reference.cs 프로젝트: heran/DekiWiki
 public RemoteComment editComment(string in0, RemoteComment in1) {
     object[] results = this.Invoke("editComment", new object[] {
                 in0,
                 in1});
     return ((RemoteComment)(results[0]));
 }
예제 #5
0
파일: Reference.cs 프로젝트: heran/DekiWiki
 /// <remarks/>
 public void addCommentAsync(string in0, RemoteComment in1) {
     this.addCommentAsync(in0, in1, null);
 }