Example #1
0
 private object[] OnEndGetEmployee(System.IAsyncResult result)
 {
     silverlight.CompanyServiceReference.EmployeeDto retVal = ((silverlight.CompanyServiceReference.ICompanyService)(this)).EndGetEmployee(result);
     return(new object[] {
         retVal
     });
 }
Example #2
0
 public System.IAsyncResult BeginCutEmpl(silverlight.CompanyServiceReference.EmployeeDto emp, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = emp;
     System.IAsyncResult _result = base.BeginInvoke("CutEmpl", _args, callback, asyncState);
     return(_result);
 }
Example #3
0
 public void CutEmplAsync(silverlight.CompanyServiceReference.EmployeeDto emp, object userState)
 {
     if ((this.onBeginCutEmplDelegate == null))
     {
         this.onBeginCutEmplDelegate = new BeginOperationDelegate(this.OnBeginCutEmpl);
     }
     if ((this.onEndCutEmplDelegate == null))
     {
         this.onEndCutEmplDelegate = new EndOperationDelegate(this.OnEndCutEmpl);
     }
     if ((this.onCutEmplCompletedDelegate == null))
     {
         this.onCutEmplCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCutEmplCompleted);
     }
     base.InvokeAsync(this.onBeginCutEmplDelegate, new object[] {
         emp
     }, this.onEndCutEmplDelegate, this.onCutEmplCompletedDelegate, userState);
 }
Example #4
0
 public void CutEmplAsync(silverlight.CompanyServiceReference.EmployeeDto emp)
 {
     this.CutEmplAsync(emp, null);
 }
Example #5
0
 private System.IAsyncResult OnBeginCutEmpl(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     silverlight.CompanyServiceReference.EmployeeDto emp = ((silverlight.CompanyServiceReference.EmployeeDto)(inValues[0]));
     return(((silverlight.CompanyServiceReference.ICompanyService)(this)).BeginCutEmpl(emp, callback, asyncState));
 }
Example #6
0
 System.IAsyncResult silverlight.CompanyServiceReference.ICompanyService.BeginCutEmpl(silverlight.CompanyServiceReference.EmployeeDto emp, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginCutEmpl(emp, callback, asyncState));
 }
Example #7
0
 public silverlight.CompanyServiceReference.EmployeeDto EndGetEmployee(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     silverlight.CompanyServiceReference.EmployeeDto _result = ((silverlight.CompanyServiceReference.EmployeeDto)(base.EndInvoke("GetEmployee", _args, result)));
     return(_result);
 }