/[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

revision 72 by william, Sat Mar 9 09:29:40 2013 UTC revision 73 by william, Sat Mar 9 10:27:39 2013 UTC
# Line 9  namespace libxmltv.Core Line 9  namespace libxmltv.Core
9    
10      internal abstract class XMLTVBase<T> : IXMLTVBase<T> where T: class, new()      internal abstract class XMLTVBase<T> : IXMLTVBase<T> where T: class, new()
11      {      {
12          public XMLTVBase(object instance) { this.Instance = instance; }          public XMLTVBase(object instance, object handler) { this.Instance = instance; this.Handler = handler; }
13          private T TryConvertInstance(object instance)          private T TryConvertInstance(object instance)
14          {          {
15              try              try
# Line 29  namespace libxmltv.Core Line 29  namespace libxmltv.Core
29          public T GetInstance() { return TryConvertInstance(Instance); }          public T GetInstance() { return TryConvertInstance(Instance); }
30          #endregion          #endregion
31    
32            
33            private object _handler;
34            public object Handler
35            {
36                get { return _handler; }
37                private set { _handler = value; }
38            }
39      }      }
40  }  }

Legend:
Removed from v.72  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.22