Exemple #1
0
 /// <remarks/>
 public void CalculateAsync(CalculateModel calculateModel) {
     this.CalculateAsync(calculateModel, null);
 }
Exemple #2
0
 /// <remarks/>
 public void CalculateAsync(CalculateModel calculateModel, object userState) {
     if ((this.CalculateOperationCompleted == null)) {
         this.CalculateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCalculateOperationCompleted);
     }
     this.InvokeAsync("Calculate", new object[] {
                 calculateModel}, this.CalculateOperationCompleted, userState);
 }
Exemple #3
0
 public Result Calculate(CalculateModel calculateModel) {
     object[] results = this.Invoke("Calculate", new object[] {
                 calculateModel});
     return ((Result)(results[0]));
 }