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

Comparing trunk/libxmltv/Core/XMLTVChannelCollection.cs (file contents):
Revision 54 by william, Fri Mar 8 08:51:10 2013 UTC vs.
Revision 55 by william, Fri Mar 8 10:19:32 2013 UTC

# Line 17 | Line 17 | namespace libxmltv.Core
17              using (XMLTVChannelCollection g = new XMLTVChannelCollection(xmltv))
18              {
19                  g.instance.Channels = g.Collection;
20 <                xmltv_logger.Log.Info.WriteLine(g.ToString());
20 >                xmltv_logger.Info.WriteLine(g.ToString());
21              }
22          }
23          private XMLTVRuntimeInstance instance;
24          public XMLTVChannelCollection(XMLTVRuntimeInstance xmltv)
25          {
26 <            xmltv_logger.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVChannelCollection");
26 >            xmltv_logger.Verbose.Debug.WriteLine("Creating Instance of XMLTVChannelCollection");
27              //IXMLTV_PARSER _xmltv;
28              //if (!Internals.VerifyInstance<IXMLTV_PARSER>(xmltv, out _xmltv)) { return; }
29              //XMLTV_PARSER = _xmltv;
# Line 47 | Line 47 | namespace libxmltv.Core
47              {
48                  if (instance.IsAborting)
49                  {
50 <                    xmltv_logger.Log.Verbose.Debug.WriteLine("Detected Instance abort event...");
50 >                    xmltv_logger.Verbose.Debug.WriteLine("Detected Instance abort event...");
51                      break;
52                  }
53                  Channel channel = new Channel(c);
# Line 81 | Line 81 | namespace libxmltv.Core
81          {
82              // get the channel id
83              Id = e.Attribute(XMLTVConstants.Channels.ChannelId).Value;
84 <            xmltv_logger.Log.Verbose.Debug.WriteLine("\tchannel_id: {0}", Id);
84 >            xmltv_logger.Verbose.Debug.WriteLine("\tchannel_id: {0}", Id);
85              var names = e.Descendants(XMLTVConstants.Channels.ChannelDisplayName).ToList();
86              Number = Convert.ToInt32(names[1].Value);
87 <            xmltv_logger.Log.Verbose.Debug.WriteLine("\tchannel_number: {0}", Number);
87 >            xmltv_logger.Verbose.Debug.WriteLine("\tchannel_number: {0}", Number);
88              CallSign = names[2].Value;
89 <            xmltv_logger.Log.Verbose.Debug.WriteLine("\tchannel_callsign: {0}", CallSign);
89 >            xmltv_logger.Verbose.Debug.WriteLine("\tchannel_callsign: {0}", CallSign);
90              Name = names[3].Value;
91 <            xmltv_logger.Log.Verbose.Debug.WriteLine("\tchannel_name: {0}", Name);
91 >            xmltv_logger.Verbose.Debug.WriteLine("\tchannel_name: {0}", Name);
92          }
93          #region IXMLTVChannel members
94          public string Id { get; private set; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines