public System.Collections.ObjectModel.ObservableCollection <CompanyFeed> GetCompanies() { CompanyFeed c = new CompanyFeed(); c.CompanyName = "Test"; ObservableCollection <CompanyFeed> Temp = new ObservableCollection <CompanyFeed>(); Temp.Add(c); return(Temp); }
public void GetFeed(CompanyFeed Company, Action Callback) { ObservableCollection <FeedsService.FeedItem> temp = new ObservableCollection <FeedsService.FeedItem>(); FeedItem a = new FeedItem(); a.Title = "My Title"; a.Date = DateTime.Today.ToShortDateString(); a.Description = "this is a really long description this is a really long description this is a really long description this is a really long description this is a really long description this is a really long descriptionthis is a really long descriptionvthis is a really long descriptionthis is a really long descriptionthis is a really long descriptionthis is a really long descriptionthis is a really long descriptionthis is a really long description"; a.Url = "www.google.com"; temp.Add(a); FeedResults = temp; }