/// <remarks/> public void CreateOrUpdateCityAsync(string ticket, TransitCity city) { this.CreateOrUpdateCityAsync(ticket, city, null); }
/// <remarks/> public void CreateOrUpdateCityAsync(string ticket, TransitCity city, object userState) { if ((this.CreateOrUpdateCityOperationCompleted == null)) { this.CreateOrUpdateCityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateCityOperationCompleted); } this.InvokeAsync("CreateOrUpdateCity", new object[] { ticket, city}, this.CreateOrUpdateCityOperationCompleted, userState); }
public int CreateOrUpdateCity(string ticket, TransitCity city) { object[] results = this.Invoke("CreateOrUpdateCity", new object[] { ticket, city}); return ((int)(results[0])); }