private static Page ToPage(RemotePage remotePage) { return new Page { Id = remotePage.id, ParentId = remotePage.parentId, Name = remotePage.title, Space = remotePage.space, Version = remotePage.version, Content = remotePage.content }; }
/// <remarks/> public void storePageAsync(string in0, RemotePage in1, object userState) { if ((this.storePageOperationCompleted == null)) { this.storePageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnstorePageOperationCompleted); } this.InvokeAsync("storePage", new object[] { in0, in1}, this.storePageOperationCompleted, userState); }
/// <remarks/> public void storePageAsync(string in0, RemotePage in1) { this.storePageAsync(in0, in1, null); }
public RemotePage storePage(string in0, RemotePage in1) { object[] results = this.Invoke("storePage", new object[] { in0, in1}); return ((RemotePage)(results[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); }
/// <remarks/> public void updatePageAsync(string in0, RemotePage in1, RemotePageUpdateOptions in2) { this.updatePageAsync(in0, in1, in2, null); }
public RemotePage updatePage(string in0, RemotePage in1, RemotePageUpdateOptions in2) { object[] results = this.Invoke("updatePage", new object[] { in0, in1, in2}); return ((RemotePage)(results[0])); }