示例#1
0
 public void CalculateAsync(Microsoft.Hpc.Excel.ExcelService.CalculateRequest request, object userState)
 {
     if ((this.onBeginCalculateDelegate == null))
     {
         this.onBeginCalculateDelegate = new BeginOperationDelegate(this.OnBeginCalculate);
     }
     if ((this.onEndCalculateDelegate == null))
     {
         this.onEndCalculateDelegate = new EndOperationDelegate(this.OnEndCalculate);
     }
     if ((this.onCalculateCompletedDelegate == null))
     {
         this.onCalculateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCalculateCompleted);
     }
     base.InvokeAsync(this.onBeginCalculateDelegate, new object[] {
         request
     }, this.onEndCalculateDelegate, this.onCalculateCompletedDelegate, userState);
 }
示例#2
0
 public void CalculateAsync(Microsoft.Hpc.Excel.ExcelService.CalculateRequest request)
 {
     this.CalculateAsync(request, null);
 }
示例#3
0
 public System.IAsyncResult BeginCalculate(Microsoft.Hpc.Excel.ExcelService.CalculateRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginCalculate(request, callback, asyncState));
 }
示例#4
0
 private System.IAsyncResult OnBeginCalculate(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Microsoft.Hpc.Excel.ExcelService.CalculateRequest request = ((Microsoft.Hpc.Excel.ExcelService.CalculateRequest)(inValues[0]));
     return(this.BeginCalculate(request, callback, asyncState));
 }
示例#5
0
 public Microsoft.Hpc.Excel.ExcelService.CalculateResponse Calculate(Microsoft.Hpc.Excel.ExcelService.CalculateRequest request)
 {
     return(base.Channel.Calculate(request));
 }