示例#1
0
 /// <remarks/>
 public void CreateOrUpdateAttributeAsync(string ticket, TransitAttribute attr) {
     this.CreateOrUpdateAttributeAsync(ticket, attr, null);
 }
示例#2
0
 /// <remarks/>
 public void CreateOrUpdateAttributeAsync(string ticket, TransitAttribute attr, object userState) {
     if ((this.CreateOrUpdateAttributeOperationCompleted == null)) {
         this.CreateOrUpdateAttributeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateAttributeOperationCompleted);
     }
     this.InvokeAsync("CreateOrUpdateAttribute", new object[] {
                 ticket,
                 attr}, this.CreateOrUpdateAttributeOperationCompleted, userState);
 }
示例#3
0
 public int CreateOrUpdateAttribute(string ticket, TransitAttribute attr) {
     object[] results = this.Invoke("CreateOrUpdateAttribute", new object[] {
                 ticket,
                 attr});
     return ((int)(results[0]));
 }