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

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

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

--- trunk/libxmltv/Core/XMLTVInstance.cs	2013/03/08 05:20:12	49
+++ trunk/libxmltv/Core/XMLTVInstance.cs	2013/03/08 06:39:56	51
@@ -8,7 +8,7 @@
 namespace libxmltv.Core
 {
     [Serializable]
-    internal class XMLTVRuntimeInstance : MarshalByRefObject, IXMLTVRuntimeInstance
+    internal class XMLTVRuntimeInstance : MarshalByRefObject, IXMLTVRuntimeInstance, ISerializer<XMLTVRuntimeInstance>
     {
         public XMLTVRuntimeInstance(string xmlfile) : this(xmlfile, null) { }
         public XMLTVRuntimeInstance(string xmlfile, EventHandler<CancelEventArgs> t) { CreateInstance(xmlfile,t); }
@@ -32,12 +32,9 @@
         public Dictionary<int, IXMLTVProgram> Programs { get; set; }
         #endregion   
     
-        internal IXMLTVSerializer<IXMLTVRuntimeInstance> Serializer
+        public IXMLTVSerializer<XMLTVRuntimeInstance> Serializer
         {
-            get 
-            {
-                return new XMLTVSerializer<IXMLTVRuntimeInstance>(this);
-            }
+            get { return new XMLTVSerializer<XMLTVRuntimeInstance>(this); }
         }
         //public void Dispose()
         //{

 

  ViewVC Help
Powered by ViewVC 1.1.22