/// <remarks/> public void CalculateAsync(CalculateModel calculateModel) { this.CalculateAsync(calculateModel, null); }
/// <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); }
public Result Calculate(CalculateModel calculateModel) { object[] results = this.Invoke("Calculate", new object[] { calculateModel}); return ((Result)(results[0])); }