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 25 by william, Thu Mar 7 11:36:00 2013 UTC vs.
Revision 26 by william, Thu Mar 7 11:58:34 2013 UTC

# Line 23 | Line 23 | namespace libxmltv.Core
23          public IXMLTV_LOADER XMLTV_LOADER { get; private set; }
24          public void TestParse() { _imp_TestParse(); }
25          public IXMLTVSource Source { get; private set; }
26 +        public Dictionary<string, IXMLTVChannel> Channels { get; private set; }
27          #endregion
28  
29          #region Parser Testing Methods
# Line 108 | Line 109 | namespace libxmltv.Core
109          private void Create()
110          {
111              CreateXMLTVSource();
112 +            CreateXMLTVChannels();
113          }
114          private void CreateXMLTVSource()
115          {
116              XMLTVSource source = new XMLTVSource(this);
117              Source = source;
118          }
119 +        private void CreateXMLTVChannels()
120 +        {
121 +            XMLTVChannelCollection channels = new XMLTVChannelCollection(this);
122 +            Channels = channels.Collection;
123 +            
124 +        }
125          #endregion
126      }
127   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines