Пример #1
0
 /// <remarks/>
 public void GetCountryByIdAsync(Country country) {
     this.GetCountryByIdAsync(country, null);
 }
Пример #2
0
 /// <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);
 }
Пример #3
0
 public Country GetCountryById(Country country) {
     object[] results = this.Invoke("GetCountryById", new object[] {
                 country});
     return ((Country)(results[0]));
 }