/[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:36:00	25
+++ trunk/libxmltv/Core/XMLTV_PARSER.cs	2013/03/07 11:58:34	26
@@ -23,6 +23,7 @@
         public IXMLTV_LOADER XMLTV_LOADER { get; private set; }
         public void TestParse() { _imp_TestParse(); }
         public IXMLTVSource Source { get; private set; }
+        public Dictionary<string, IXMLTVChannel> Channels { get; private set; }
         #endregion
 
         #region Parser Testing Methods
@@ -108,12 +109,19 @@
         private void Create()
         {
             CreateXMLTVSource();
+            CreateXMLTVChannels();
         }
         private void CreateXMLTVSource()
         {
             XMLTVSource source = new XMLTVSource(this);
             Source = source;
         }
+        private void CreateXMLTVChannels()
+        {
+            XMLTVChannelCollection channels = new XMLTVChannelCollection(this);
+            Channels = channels.Collection;
+            
+        }
         #endregion
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22