/// <remarks/> public void CreateOrUpdateNeighborhoodAsync(string ticket, TransitNeighborhood neighborhood) { this.CreateOrUpdateNeighborhoodAsync(ticket, neighborhood, null); }
/// <remarks/> public void CreateOrUpdateNeighborhoodAsync(string ticket, TransitNeighborhood neighborhood, object userState) { if ((this.CreateOrUpdateNeighborhoodOperationCompleted == null)) { this.CreateOrUpdateNeighborhoodOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateNeighborhoodOperationCompleted); } this.InvokeAsync("CreateOrUpdateNeighborhood", new object[] { ticket, neighborhood}, this.CreateOrUpdateNeighborhoodOperationCompleted, userState); }
public int CreateOrUpdateNeighborhood(string ticket, TransitNeighborhood neighborhood) { object[] results = this.Invoke("CreateOrUpdateNeighborhood", new object[] { ticket, neighborhood}); return ((int)(results[0])); }