Exemplo n.º 1
0
        private System.IAsyncResult OnBeginUpdateContent(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string FormID = ((string)(inValues[0]));

            byte[] content = ((byte[])(inValues[1]));
            SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo = ((SMT.Saas.Tools.PublicInterfaceWS.UserInfo)(inValues[2]));
            return(((SMT.Saas.Tools.PublicInterfaceWS.IPublicService)(this)).BeginUpdateContent(FormID, content, userinfo, callback, asyncState));
        }
Exemplo n.º 2
0
 public System.IAsyncResult BeginUpdateContent(string FormID, byte[] content, SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[3];
     _args[0] = FormID;
     _args[1] = content;
     _args[2] = userinfo;
     System.IAsyncResult _result = base.BeginInvoke("UpdateContent", _args, callback, asyncState);
     return(_result);
 }
Exemplo n.º 3
0
 public System.IAsyncResult BeginAddContent(string FormID, byte[] content, string CompanyID, string SystemCode, string ModelName, SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[6];
     _args[0] = FormID;
     _args[1] = content;
     _args[2] = CompanyID;
     _args[3] = SystemCode;
     _args[4] = ModelName;
     _args[5] = userinfo;
     System.IAsyncResult _result = base.BeginInvoke("AddContent", _args, callback, asyncState);
     return(_result);
 }
Exemplo n.º 4
0
        private System.IAsyncResult OnBeginAddContent(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string FormID = ((string)(inValues[0]));

            byte[] content    = ((byte[])(inValues[1]));
            string CompanyID  = ((string)(inValues[2]));
            string SystemCode = ((string)(inValues[3]));
            string ModelName  = ((string)(inValues[4]));

            SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo = ((SMT.Saas.Tools.PublicInterfaceWS.UserInfo)(inValues[5]));
            return(((SMT.Saas.Tools.PublicInterfaceWS.IPublicService)(this)).BeginAddContent(FormID, content, CompanyID, SystemCode, ModelName, userinfo, callback, asyncState));
        }
Exemplo n.º 5
0
 public void UpdateContentAsync(string FormID, byte[] content, SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo, object userState)
 {
     if ((this.onBeginUpdateContentDelegate == null))
     {
         this.onBeginUpdateContentDelegate = new BeginOperationDelegate(this.OnBeginUpdateContent);
     }
     if ((this.onEndUpdateContentDelegate == null))
     {
         this.onEndUpdateContentDelegate = new EndOperationDelegate(this.OnEndUpdateContent);
     }
     if ((this.onUpdateContentCompletedDelegate == null))
     {
         this.onUpdateContentCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateContentCompleted);
     }
     base.InvokeAsync(this.onBeginUpdateContentDelegate, new object[] {
         FormID,
         content,
         userinfo
     }, this.onEndUpdateContentDelegate, this.onUpdateContentCompletedDelegate, userState);
 }
Exemplo n.º 6
0
 public void AddContentAsync(string FormID, byte[] content, string CompanyID, string SystemCode, string ModelName, SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo)
 {
     this.AddContentAsync(FormID, content, CompanyID, SystemCode, ModelName, userinfo, null);
 }
Exemplo n.º 7
0
 System.IAsyncResult SMT.Saas.Tools.PublicInterfaceWS.IPublicService.BeginAddContent(string FormID, byte[] content, string CompanyID, string SystemCode, string ModelName, SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginAddContent(FormID, content, CompanyID, SystemCode, ModelName, userinfo, callback, asyncState));
 }
Exemplo n.º 8
0
 public void UpdateContentAsync(string FormID, byte[] content, SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo)
 {
     this.UpdateContentAsync(FormID, content, userinfo, null);
 }
Exemplo n.º 9
0
 System.IAsyncResult SMT.Saas.Tools.PublicInterfaceWS.IPublicService.BeginUpdateContent(string FormID, byte[] content, SMT.Saas.Tools.PublicInterfaceWS.UserInfo userinfo, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdateContent(FormID, content, userinfo, callback, asyncState));
 }