/// <remarks/> public void GetCountryByIdAsync(Country country) { this.GetCountryByIdAsync(country, null); }
/// <remarks/> public void GetCountryByIdAsync(Country country, object userState) { if ((this.GetCountryByIdOperationCompleted == null)) { this.GetCountryByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCountryByIdOperationCompleted); } this.InvokeAsync("GetCountryById", new object[] { country}, this.GetCountryByIdOperationCompleted, userState); }
public Country GetCountryById(Country country) { object[] results = this.Invoke("GetCountryById", new object[] { country}); return ((Country)(results[0])); }