/[xmltv_parser]/trunk/xmltv_parser/main.cs
ViewVC logotype

Diff of /trunk/xmltv_parser/main.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 72 by william, Sat Mar 9 09:29:40 2013 UTC revision 73 by william, Sat Mar 9 10:27:39 2013 UTC
# Line 147  namespace xmltv_parser Line 147  namespace xmltv_parser
147              var instance = XMLTV.GetInstance();              var instance = XMLTV.GetInstance();
148              if (instance != null)              if (instance != null)
149              {              {
150                  var program_count = instance.Programs.Values.Count;                  var program_count = instance.Programs.Count;
151                  var program_list = instance.Programs.Values.ToList().OrderBy(s => s.Start);                  var program_list = instance.Programs.ToList().OrderBy(s => s.Start);
152                  //Programs = program_list(0, program_count).ToList();                  //Programs = program_list(0, program_count).ToList();
153                  Programs = new List<IXMLTVProgram>(program_list.ToArray());                  Programs = new List<IXMLTVProgram>(program_list.ToArray());
154              }              }

Legend:
Removed from v.72  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.22