コード例 #1
0
ファイル: Reference.cs プロジェクト: dblock/sncore
 /// <remarks/>
 public void DeleteAllFeaturesAsync(string ticket, TransitFeature token, object userState) {
     if ((this.DeleteAllFeaturesOperationCompleted == null)) {
         this.DeleteAllFeaturesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteAllFeaturesOperationCompleted);
     }
     this.InvokeAsync("DeleteAllFeatures", new object[] {
                 ticket,
                 token}, this.DeleteAllFeaturesOperationCompleted, userState);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: dblock/sncore
 /// <remarks/>
 public void DeleteAllFeaturesAsync(string ticket, TransitFeature token) {
     this.DeleteAllFeaturesAsync(ticket, token, null);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: dblock/sncore
 public void DeleteAllFeatures(string ticket, TransitFeature token) {
     this.Invoke("DeleteAllFeatures", new object[] {
                 ticket,
                 token});
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: dblock/sncore
 /// <remarks/>
 public void CreateOrUpdateFeatureAsync(string ticket, TransitFeature feature, object userState) {
     if ((this.CreateOrUpdateFeatureOperationCompleted == null)) {
         this.CreateOrUpdateFeatureOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateFeatureOperationCompleted);
     }
     this.InvokeAsync("CreateOrUpdateFeature", new object[] {
                 ticket,
                 feature}, this.CreateOrUpdateFeatureOperationCompleted, userState);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: dblock/sncore
 /// <remarks/>
 public void CreateOrUpdateFeatureAsync(string ticket, TransitFeature feature) {
     this.CreateOrUpdateFeatureAsync(ticket, feature, null);
 }
コード例 #6
0
ファイル: Reference.cs プロジェクト: dblock/sncore
 public int CreateOrUpdateFeature(string ticket, TransitFeature feature) {
     object[] results = this.Invoke("CreateOrUpdateFeature", new object[] {
                 ticket,
                 feature});
     return ((int)(results[0]));
 }