public BlogFeedTest()
 {
     mFeed = new TransitFeed();
     mFeed.Name = Guid.NewGuid().ToString();
     mFeed.Description = Guid.NewGuid().ToString();
     mFeed.Username = Guid.NewGuid().ToString();
     mFeed.Password = Guid.NewGuid().ToString();
     mFeed.Saved = DateTime.UtcNow;
     mFeed.Updated = DateTime.UtcNow;
     mFeed.Xsl = Guid.NewGuid().ToString();
     mFeed.Exception = Guid.NewGuid().ToString();
     mFeed.Url = Guid.NewGuid().ToString();
 }
Exemple #2
0
 /// <remarks/>
 public void CreateOrUpdateFeedAsync(string ticket, TransitFeed t_feed) {
     this.CreateOrUpdateFeedAsync(ticket, t_feed, null);
 }
Exemple #3
0
 /// <remarks/>
 public void CreateOrUpdateFeedAsync(string ticket, TransitFeed t_feed, object userState) {
     if ((this.CreateOrUpdateFeedOperationCompleted == null)) {
         this.CreateOrUpdateFeedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateFeedOperationCompleted);
     }
     this.InvokeAsync("CreateOrUpdateFeed", new object[] {
                 ticket,
                 t_feed}, this.CreateOrUpdateFeedOperationCompleted, userState);
 }
Exemple #4
0
 public int CreateOrUpdateFeed(string ticket, TransitFeed t_feed) {
     object[] results = this.Invoke("CreateOrUpdateFeed", new object[] {
                 ticket,
                 t_feed});
     return ((int)(results[0]));
 }