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); }
public void CalculateAsync(Microsoft.Hpc.Excel.ExcelService.CalculateRequest request) { this.CalculateAsync(request, null); }
public System.IAsyncResult BeginCalculate(Microsoft.Hpc.Excel.ExcelService.CalculateRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginCalculate(request, callback, asyncState)); }
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)); }
public Microsoft.Hpc.Excel.ExcelService.CalculateResponse Calculate(Microsoft.Hpc.Excel.ExcelService.CalculateRequest request) { return(base.Channel.Calculate(request)); }