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

Comparing trunk/libxmltv/Core/XMLTVSource.cs (file contents):
Revision 54 by william, Fri Mar 8 05:20:12 2013 UTC vs.
Revision 55 by william, Fri Mar 8 10:19:32 2013 UTC

# Line 23 | Line 23 | namespace libxmltv.Core
23          }
24          protected XMLTVSource(XMLTVRuntimeInstance xmltv)
25          {
26 <            xmltv_logger.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVSource");
26 >            xmltv_logger.Verbose.Debug.WriteLine("Creating Instance of XMLTVSource");
27              //IXMLTV_PARSER _xmltv;
28              //if (!Internals.VerifyInstance<IXMLTV_PARSER>(xmltv, out _xmltv)) { return; }
29              //XMLTV_PARSER = _xmltv;
# Line 42 | Line 42 | namespace libxmltv.Core
42          {
43              var doc = XDocument.Parse(instance.XmlDoc);
44              Debug.Assert(doc.Root.Name == XMLTVConstants.ROOT_ELEMENT, string.Format("Expected Root Element: '{0}' but read: '{1}'", XMLTVConstants.ROOT_ELEMENT, doc.Root.Name));
45 <            //xmltv_logger.Log.Verbose.Debug.WriteLine("\tRoot: {0}", doc.Root.Name);
45 >            //xmltv_logger.Verbose.Debug.WriteLine("\tRoot: {0}", doc.Root.Name);
46              var attributes = doc.Root.Attributes().ToList();
47              foreach (var attribute in attributes)
48              {
49 <                //xmltv_logger.Log.Verbose.Debug.WriteLine("\t{0}: {1}", attribute.Name, attribute.Value);
49 >                //xmltv_logger.Verbose.Debug.WriteLine("\t{0}: {1}", attribute.Name, attribute.Value);
50                  entries.Add(attribute.Name.ToString(), attribute.Value);
51              }
52  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines