Пример #1
0
 private object[] OnEndGetDepartmentDetails(System.IAsyncResult result)
 {
     silverlight.CompanyServiceReference.DepartmentDetailsDto retVal = ((silverlight.CompanyServiceReference.ICompanyService)(this)).EndGetDepartmentDetails(result);
     return(new object[] {
         retVal
     });
 }
Пример #2
0
 public System.IAsyncResult BeginCutDept(silverlight.CompanyServiceReference.DepartmentDetailsDto dept, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = dept;
     System.IAsyncResult _result = base.BeginInvoke("CutDept", _args, callback, asyncState);
     return(_result);
 }
Пример #3
0
 public void CutDeptAsync(silverlight.CompanyServiceReference.DepartmentDetailsDto dept, object userState)
 {
     if ((this.onBeginCutDeptDelegate == null))
     {
         this.onBeginCutDeptDelegate = new BeginOperationDelegate(this.OnBeginCutDept);
     }
     if ((this.onEndCutDeptDelegate == null))
     {
         this.onEndCutDeptDelegate = new EndOperationDelegate(this.OnEndCutDept);
     }
     if ((this.onCutDeptCompletedDelegate == null))
     {
         this.onCutDeptCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCutDeptCompleted);
     }
     base.InvokeAsync(this.onBeginCutDeptDelegate, new object[] {
         dept
     }, this.onEndCutDeptDelegate, this.onCutDeptCompletedDelegate, userState);
 }
Пример #4
0
 public void CutDeptAsync(silverlight.CompanyServiceReference.DepartmentDetailsDto dept)
 {
     this.CutDeptAsync(dept, null);
 }
Пример #5
0
 private System.IAsyncResult OnBeginCutDept(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     silverlight.CompanyServiceReference.DepartmentDetailsDto dept = ((silverlight.CompanyServiceReference.DepartmentDetailsDto)(inValues[0]));
     return(((silverlight.CompanyServiceReference.ICompanyService)(this)).BeginCutDept(dept, callback, asyncState));
 }
Пример #6
0
 System.IAsyncResult silverlight.CompanyServiceReference.ICompanyService.BeginCutDept(silverlight.CompanyServiceReference.DepartmentDetailsDto dept, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginCutDept(dept, callback, asyncState));
 }
Пример #7
0
 public silverlight.CompanyServiceReference.DepartmentDetailsDto EndGetDepartmentDetails(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     silverlight.CompanyServiceReference.DepartmentDetailsDto _result = ((silverlight.CompanyServiceReference.DepartmentDetailsDto)(base.EndInvoke("GetDepartmentDetails", _args, result)));
     return(_result);
 }