/[xmltv_parser]/trunk/libxmltv/Interfaces/Interfaces.cs
ViewVC logotype

Diff of /trunk/libxmltv/Interfaces/Interfaces.cs

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

revision 77 by william, Sat Mar 9 11:28:41 2013 UTC revision 86 by william, Sat Mar 9 13:51:58 2013 UTC
# Line 36  namespace libxmltv.Interfaces Line 36  namespace libxmltv.Interfaces
36          string Name { get; }          string Name { get; }
37          string ToString();          string ToString();
38      }      }
39      public interface IXMLTVProgram  
40        public interface IPropertyDictionary : IPropertyDictionary<string, object>    {    }
41        public interface IPropertyDictionary<TKey,TValue>
42      {      {
43          int Id { get; }          Dictionary<TKey, TValue> Properties { get; }
44          DateTime Start { get; }          TValue GetProperty(TKey name);
45          DateTime Stop { get; }          void SetProperty(TKey name, TValue value);
46          IXMLTVChannel Channel { get; }      }
47          string Title { get; }      public interface IXMLTVProgram : IPropertyDictionary
48          string SubTitle { get; }      {
49          string Description { get; }          //int Id { get; }
50          string ToString();          //DateTime Start { get; }
51            //DateTime Stop { get; }
52            //IXMLTVChannel Channel { get; }
53            //string Title { get; }
54            //string SubTitle { get; }
55            //string Description { get; }
56            //string ToString();
57            
58      }      }
59    
60      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
# Line 53  namespace libxmltv.Interfaces Line 62  namespace libxmltv.Interfaces
62      public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }      public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
63      public interface IXMLTVListCollection<TValue> { List<TValue> Collection { get; } }      public interface IXMLTVListCollection<TValue> { List<TValue> Collection { get; } }
64    
65        public interface IXMLTVHandler : IXMLTVHandler<object> { }
66      public interface IXMLTVHandler<T> { T Handler { get; } }      public interface IXMLTVHandler<T> { T Handler { get; } }
67    
68      //public interface IXMLTVBase : IXMLTVBase<object> { }      //public interface IXMLTVBase : IXMLTVBase<object> { }
69      public interface IXMLTVBase<T> : IGetInstance<T>, IXMLTVHandler<object> { }      public interface IXMLTVBase<T> : IGetInstance<T>, IXMLTVHandler { }
70      public interface IXMLTVRuntimeInstance : IOnInstanceCreated      public interface IXMLTVRuntimeInstance : IOnInstanceCreated
71      {      {
72          bool IsAborting { get; }          bool IsAborting { get; }

Legend:
Removed from v.77  
changed lines
  Added in v.86

  ViewVC Help
Powered by ViewVC 1.1.22