private System.IAsyncResult OnBeginUpdatePlaceObjectComments(object[] inValues, System.AsyncCallback callback, object asyncState) { int id = ((int)(inValues[0])); WcfService1.ItemComment comment = ((WcfService1.ItemComment)(inValues[1])); return(((IService1)(this)).BeginUpdatePlaceObjectComments(id, comment, callback, asyncState)); }
public System.IAsyncResult BeginUpdatePlaceObjectComments(int id, WcfService1.ItemComment comment, System.AsyncCallback callback, object asyncState) { object[] _args = new object[2]; _args[0] = id; _args[1] = comment; System.IAsyncResult _result = base.BeginInvoke("UpdatePlaceObjectComments", _args, callback, asyncState); return(_result); }
public static WcfService1.ItemComment GetWcf_itemcomment(ItemComment input) { WcfService1.ItemComment result = new WcfService1.ItemComment(); result.Author = input.Author; result.CommentString = input.CommentString; result.DataPost = input.DataPost; return(result); }
public static ItemComment convertItemCommnet(WcfService1.ItemComment data) { ItemComment result = new ItemComment(); result.Author = data.Author; result.CommentString = data.CommentString; result.DataPost = (DateTime)data.DataPost; return(result); }
public void UpdatePlaceObjectCommentsAsync(int id, WcfService1.ItemComment comment, object userState) { if ((this.onBeginUpdatePlaceObjectCommentsDelegate == null)) { this.onBeginUpdatePlaceObjectCommentsDelegate = new BeginOperationDelegate(this.OnBeginUpdatePlaceObjectComments); } if ((this.onEndUpdatePlaceObjectCommentsDelegate == null)) { this.onEndUpdatePlaceObjectCommentsDelegate = new EndOperationDelegate(this.OnEndUpdatePlaceObjectComments); } if ((this.onUpdatePlaceObjectCommentsCompletedDelegate == null)) { this.onUpdatePlaceObjectCommentsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdatePlaceObjectCommentsCompleted); } base.InvokeAsync(this.onBeginUpdatePlaceObjectCommentsDelegate, new object[] { id, comment }, this.onEndUpdatePlaceObjectCommentsDelegate, this.onUpdatePlaceObjectCommentsCompletedDelegate, userState); }
public void UpdatePlaceObjectCommentsAsync(int id, WcfService1.ItemComment comment) { this.UpdatePlaceObjectCommentsAsync(id, comment, null); }
System.IAsyncResult IService1.BeginUpdatePlaceObjectComments(int id, WcfService1.ItemComment comment, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdatePlaceObjectComments(id, comment, callback, asyncState)); }