/[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 81 by william, Sat Mar 9 12:23:27 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 : IXMLTVHandler<object> { }
57        public interface IXMLTVHandler<T> { T Handler { get; } }
58    
59      //public interface IXMLTVBase : IXMLTVBase<object> { }      //public interface IXMLTVBase : IXMLTVBase<object> { }
60      public interface IXMLTVBase<T> : IGetInstance<T> { }      public interface IXMLTVBase<T> : IGetInstance<T>, IXMLTVHandler { }
61      public interface IXMLTVRuntimeInstance : IOnInstanceCreated      public interface IXMLTVRuntimeInstance : IOnInstanceCreated
62      {      {
63          bool IsAborting { get; }          bool IsAborting { get; }
# Line 62  namespace libxmltv.Interfaces Line 66  namespace libxmltv.Interfaces
66          string XmlFile_FullName { get; }          string XmlFile_FullName { get; }
67          string XmlDoc { get; }          string XmlDoc { get; }
68          IXMLTVSource Source { get; }          IXMLTVSource Source { get; }
69          Dictionary<string, IXMLTVChannel> Channels { get; }          List<IXMLTVChannel> Channels { get; }
70          Dictionary<int, IXMLTVProgram> Programs { get; }          List<IXMLTVProgram> Programs { get; }
71                    
72      }      }
73      public interface IXMLTVSerializer : IXMLTVSerializer<object> { }      public interface IXMLTVSerializer : IXMLTVSerializer<object> { }

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

  ViewVC Help
Powered by ViewVC 1.1.22