/[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 72 by william, Sat Mar 9 09:29:40 2013 UTC revision 73 by william, Sat Mar 9 10:27:39 2013 UTC
# Line 48  namespace libxmltv.Interfaces Line 48  namespace libxmltv.Interfaces
48          string ToString();          string ToString();
49      }      }
50    
51      public interface IXMLTVProgramCollection : IXMLTVCollection<int, IXMLTVProgram> { }      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
52      public interface IXMLTVChannelCollection : IXMLTVCollection<string, IXMLTVChannel> { }      public interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }
53      public interface IXMLTVCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }      public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
54        public interface IXMLTVListCollection<TValue> { List<TValue> Collection { get; } }
55    
56        public interface IXMLTVHandler<T> { T Handler { get; } }
57    
58      //public interface IXMLTVBase : IXMLTVBase<object> { }      //public interface IXMLTVBase : IXMLTVBase<object> { }
59      public interface IXMLTVBase<T> : IGetInstance<T> { }      public interface IXMLTVBase<T> : IGetInstance<T>, IXMLTVHandler<object> { }
60      public interface IXMLTVRuntimeInstance : IOnInstanceCreated      public interface IXMLTVRuntimeInstance : IOnInstanceCreated
61      {      {
62          bool IsAborting { get; }          bool IsAborting { get; }
# Line 61  namespace libxmltv.Interfaces Line 64  namespace libxmltv.Interfaces
64          string XmlFile_Name { get; }          string XmlFile_Name { get; }
65          string XmlFile_FullName { get; }          string XmlFile_FullName { get; }
66          string XmlDoc { get; }          string XmlDoc { get; }
67          IXMLTVSource Source { get; }          List<IXMLTVSource> Source { get; }
68          Dictionary<string, IXMLTVChannel> Channels { get; }          List<IXMLTVChannel> Channels { get; }
69          Dictionary<int, IXMLTVProgram> Programs { get; }          List<IXMLTVProgram> Programs { get; }
70                    
71      }      }
72      public interface IXMLTVSerializer : IXMLTVSerializer<object> { }      public interface IXMLTVSerializer : IXMLTVSerializer<object> { }

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

  ViewVC Help
Powered by ViewVC 1.1.22