/[xmltv_parser]/trunk/libxmltv/Core/XMLTVParser.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVParser.cs

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

revision 26 by william, Thu Mar 7 11:58:34 2013 UTC revision 27 by william, Thu Mar 7 12:11:41 2013 UTC
# Line 24  namespace libxmltv.Core Line 24  namespace libxmltv.Core
24          public void TestParse() { _imp_TestParse(); }          public void TestParse() { _imp_TestParse(); }
25          public IXMLTVSource Source { get; private set; }          public IXMLTVSource Source { get; private set; }
26          public Dictionary<string, IXMLTVChannel> Channels { get; private set; }          public Dictionary<string, IXMLTVChannel> Channels { get; private set; }
27            public Dictionary<int, IXMLTVProgram> Programs { get; private set; }
28          #endregion          #endregion
29    
30          #region Parser Testing Methods          #region Parser Testing Methods
# Line 110  namespace libxmltv.Core Line 111  namespace libxmltv.Core
111          {          {
112              CreateXMLTVSource();              CreateXMLTVSource();
113              CreateXMLTVChannels();              CreateXMLTVChannels();
114                CreateXMLTVPrograms();
115          }          }
116          private void CreateXMLTVSource()          private void CreateXMLTVSource()
117          {          {
# Line 119  namespace libxmltv.Core Line 121  namespace libxmltv.Core
121          private void CreateXMLTVChannels()          private void CreateXMLTVChannels()
122          {          {
123              XMLTVChannelCollection channels = new XMLTVChannelCollection(this);              XMLTVChannelCollection channels = new XMLTVChannelCollection(this);
124              Channels = channels.Collection;              Channels = channels.Collection;            
125                        }
126            private void CreateXMLTVPrograms()
127            {
128                XMLTVProgramCollection programs = new XMLTVProgramCollection(this);
129                Programs = programs.Collection;
130          }          }
131          #endregion          #endregion
132      }      }

Legend:
Removed from v.26  
changed lines
  Added in v.27

  ViewVC Help
Powered by ViewVC 1.1.22