ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/libxmltv/Core/XMLTV_PARSER.cs
(Generate patch)

Comparing trunk/libxmltv/Core/XMLTV_PARSER.cs (file contents):
Revision 26 by william, Thu Mar 7 11:58:34 2013 UTC vs.
Revision 27 by william, Thu Mar 7 12:11:41 2013 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines