Exemplo n.º 1
0
 private object[] OnEndGetCompany(System.IAsyncResult result)
 {
     silverlight.CompanyServiceReference.CompanyDto retVal = ((silverlight.CompanyServiceReference.ICompanyService)(this)).EndGetCompany(result);
     return(new object[] {
         retVal
     });
 }
Exemplo n.º 2
0
 public System.IAsyncResult BeginCut(silverlight.CompanyServiceReference.CompanyDto company, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = company;
     System.IAsyncResult _result = base.BeginInvoke("Cut", _args, callback, asyncState);
     return(_result);
 }
Exemplo n.º 3
0
 public void CutAsync(silverlight.CompanyServiceReference.CompanyDto company, object userState)
 {
     if ((this.onBeginCutDelegate == null))
     {
         this.onBeginCutDelegate = new BeginOperationDelegate(this.OnBeginCut);
     }
     if ((this.onEndCutDelegate == null))
     {
         this.onEndCutDelegate = new EndOperationDelegate(this.OnEndCut);
     }
     if ((this.onCutCompletedDelegate == null))
     {
         this.onCutCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCutCompleted);
     }
     base.InvokeAsync(this.onBeginCutDelegate, new object[] {
         company
     }, this.onEndCutDelegate, this.onCutCompletedDelegate, userState);
 }
Exemplo n.º 4
0
 public void CutAsync(silverlight.CompanyServiceReference.CompanyDto company)
 {
     this.CutAsync(company, null);
 }
Exemplo n.º 5
0
 private System.IAsyncResult OnBeginCut(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     silverlight.CompanyServiceReference.CompanyDto company = ((silverlight.CompanyServiceReference.CompanyDto)(inValues[0]));
     return(((silverlight.CompanyServiceReference.ICompanyService)(this)).BeginCut(company, callback, asyncState));
 }
Exemplo n.º 6
0
 System.IAsyncResult silverlight.CompanyServiceReference.ICompanyService.BeginCut(silverlight.CompanyServiceReference.CompanyDto company, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginCut(company, callback, asyncState));
 }
Exemplo n.º 7
0
 public silverlight.CompanyServiceReference.CompanyDto EndGetCompany(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     silverlight.CompanyServiceReference.CompanyDto _result = ((silverlight.CompanyServiceReference.CompanyDto)(base.EndInvoke("GetCompany", _args, result)));
     return(_result);
 }