/[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 10:27:39	73
@@ -9,7 +9,7 @@
 
     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
@@ -29,6 +29,12 @@
         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