/[xmltv_parser]/trunk/libxmltv/Core/XMLTVChannel.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVChannel.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libxmltv/Core/XMLTVChannel.cs	2013/03/07 11:58:34	26
+++ trunk/libxmltv/Core/XMLTVChannel.cs	2013/03/07 12:11:41	27
@@ -45,7 +45,7 @@
         }
     }
 
-    public class Channel : IXMLTVChannel
+    internal class Channel : IXMLTVChannel
     {
         public Channel()
         {
@@ -54,10 +54,11 @@
             ChannelCallSign = string.Empty;
             ChannelName = string.Empty;
         }
-        public Channel(XElement e) : this()
+        public Channel(XElement e)
+            : this()
         {
             // get the channel id
-            ChannelId = e.Attribute(XMLTV_CONSTANTS.Channels.ChannelId).Value;          
+            ChannelId = e.Attribute(XMLTV_CONSTANTS.Channels.ChannelId).Value;
             var names = e.Descendants(XMLTV_CONSTANTS.Channels.ChannelDisplayName).ToList();
             ChannelNumber = Convert.ToInt32(names[1].Value);
             ChannelCallSign = names[2].Value;

 

  ViewVC Help
Powered by ViewVC 1.1.22