Ejemplo n.º 1
0
    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));
    }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        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);
        }
Ejemplo n.º 5
0
 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);
 }
Ejemplo n.º 6
0
 public void UpdatePlaceObjectCommentsAsync(int id, WcfService1.ItemComment comment)
 {
     this.UpdatePlaceObjectCommentsAsync(id, comment, null);
 }
Ejemplo n.º 7
0
 System.IAsyncResult IService1.BeginUpdatePlaceObjectComments(int id, WcfService1.ItemComment comment, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdatePlaceObjectComments(id, comment, callback, asyncState));
 }