private object[] OnEndGetEmployee(System.IAsyncResult result) { silverlight.CompanyServiceReference.EmployeeDto retVal = ((silverlight.CompanyServiceReference.ICompanyService)(this)).EndGetEmployee(result); return(new object[] { retVal }); }
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); }
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); }
public void CutEmplAsync(silverlight.CompanyServiceReference.EmployeeDto emp) { this.CutEmplAsync(emp, null); }
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)); }
System.IAsyncResult silverlight.CompanyServiceReference.ICompanyService.BeginCutEmpl(silverlight.CompanyServiceReference.EmployeeDto emp, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginCutEmpl(emp, callback, asyncState)); }
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); }