/[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 06:15:44	50
+++ 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,13 +32,10 @@
         public Dictionary<int, IXMLTVProgram> Programs { get; set; }
         #endregion   
     
-        //internal IXMLTVSerializer<IXMLTVRuntimeInstance> Serializer
-        //{
-        //    get 
-        //    {
-        //        return new XMLTVSerializer<IXMLTVRuntimeInstance>(this);
-        //    }
-        //}
+        public IXMLTVSerializer<XMLTVRuntimeInstance> Serializer
+        {
+            get { return new XMLTVSerializer<XMLTVRuntimeInstance>(this); }
+        }
         //public void Dispose()
         //{
         //    IsDisposing = true;

 

  ViewVC Help
Powered by ViewVC 1.1.22