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

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

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

--- trunk/libxmltv/Core/XMLTVBase.cs	2013/03/09 09:29:40	72
+++ trunk/libxmltv/Core/XMLTVBase.cs	2013/03/09 11:28:41	77
@@ -6,10 +6,10 @@
 
 namespace libxmltv.Core
 {
-
+    [Serializable]
     internal abstract class XMLTVBase<T> : IXMLTVBase<T> where T: class, new()
     {
-        public XMLTVBase(object instance) { this.Instance = instance; }
+        public XMLTVBase(object instance, object handler) { this.Instance = instance; this.Handler = handler; }
         private T TryConvertInstance(object instance)
         {
             try
@@ -24,11 +24,14 @@
             }
         }
         private object Instance;
-
         #region IXMLTVBase members        
         public T GetInstance() { return TryConvertInstance(Instance); }
         #endregion
-
-        
+        private object _handler;
+        public object Handler
+        {
+            get { return _handler; }
+            private set { _handler = value; }
+        }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22