/[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

--- trunk/libxmltv/Core/XMLTV_PARSER.cs	2013/03/07 11:58:34	26
+++ trunk/libxmltv/Core/XMLTV_PARSER.cs	2013/03/07 12:11:41	27
@@ -24,6 +24,7 @@
         public void TestParse() { _imp_TestParse(); }
         public IXMLTVSource Source { get; private set; }
         public Dictionary<string, IXMLTVChannel> Channels { get; private set; }
+        public Dictionary<int, IXMLTVProgram> Programs { get; private set; }
         #endregion
 
         #region Parser Testing Methods
@@ -110,6 +111,7 @@
         {
             CreateXMLTVSource();
             CreateXMLTVChannels();
+            CreateXMLTVPrograms();
         }
         private void CreateXMLTVSource()
         {
@@ -119,8 +121,12 @@
         private void CreateXMLTVChannels()
         {
             XMLTVChannelCollection channels = new XMLTVChannelCollection(this);
-            Channels = channels.Collection;
-            
+            Channels = channels.Collection;            
+        }
+        private void CreateXMLTVPrograms()
+        {
+            XMLTVProgramCollection programs = new XMLTVProgramCollection(this);
+            Programs = programs.Collection;
         }
         #endregion
     }

 

  ViewVC Help
Powered by ViewVC 1.1.22