AppLinks.cs 495 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Newtonsoft.Json;
  7. using System.Net;
  8. using System.IO;
  9. namespace Optimizer
  10. {
  11. public class AppLinks
  12. {
  13. public List<AppInfo> Apps = new List<AppInfo>();
  14. public AppLinks()
  15. {
  16. string feed = @"feed.json";
  17. Apps = JsonConvert.DeserializeObject<List<AppInfo>>(File.ReadAllText(feed));
  18. }
  19. }
  20. }