예제 #1
0
파일: Reference.cs 프로젝트: dblock/sncore
 /// <remarks/>
 public void CreateOrUpdateCityAsync(string ticket, TransitCity city) {
     this.CreateOrUpdateCityAsync(ticket, city, null);
 }
예제 #2
0
파일: Reference.cs 프로젝트: dblock/sncore
 /// <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);
 }
예제 #3
0
파일: Reference.cs 프로젝트: dblock/sncore
 public int CreateOrUpdateCity(string ticket, TransitCity city) {
     object[] results = this.Invoke("CreateOrUpdateCity", new object[] {
                 ticket,
                 city});
     return ((int)(results[0]));
 }