/// <remarks/> public void AddCustomerAsync(Customer customer) { this.AddCustomerAsync(customer, null); }
/// <remarks/> public void AddCustomerAsync(Customer customer, object userState) { if ((this.AddCustomerOperationCompleted == null)) { this.AddCustomerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddCustomerOperationCompleted); } this.InvokeAsync("AddCustomer", new object[] { customer}, this.AddCustomerOperationCompleted, userState); }
public void AddCustomer(Customer customer) { this.Invoke("AddCustomer", new object[] { customer}); }