/[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 117 by william, Sun Mar 10 17:10:47 2013 UTC revision 118 by william, Sun Mar 10 17:41:52 2013 UTC
# Line 23  namespace libxmltv.Interfaces Line 23  namespace libxmltv.Interfaces
23      //    Dictionary<int, IXMLTVProgram> Programs { get; }      //    Dictionary<int, IXMLTVProgram> Programs { get; }
24      //}      //}
25    
26      internal interface IXMLTVSource      public interface IXMLTVSource
27      {      {
28          string SourceName { get; }          string SourceName { get; }
29          string GeneratorName { get; }          string GeneratorName { get; }
30          string GeneratorUrl { get; }          string GeneratorUrl { get; }
31          string ToString();          string ToString();
32      }      }
33      internal interface IXMLTVChannel      public interface IXMLTVChannel
34      {      {
35          string Id { get; }          string Id { get; }
36          //int Number { get; }          //int Number { get; }
37          //string CallSign { get; }          //string CallSign { get; }
38          //string Name { get; }              //string Name { get; }    
39          PropertyList MetaData { get; }          IPropertyList MetaData { get; }
40          string ToString();          string ToString();
41      }      }
42      internal interface IXMLTVProgram      public interface IXMLTVProgram
43      {      {
44          PropertyDictionary MetaData { get; }          IPropertyDictionary MetaData { get; }
45          List<IExtraMetaData> GetExtraMetaData();          List<IExtraMetaData> GetExtraMetaData();
46      }      }
47    
48      internal interface IExtraMetaData : IExtraMetaData<string, string> { }      public interface IExtraMetaData : IExtraMetaData<string, string> { }
49      internal interface IExtraMetaData<TKey, TValue> : IPropertyValuePair<TKey, TValue>      public interface IExtraMetaData<TKey, TValue> : IPropertyValuePair<TKey, TValue>
50      {      {
51          XElement AsXElement();          XElement AsXElement();
52      }      }
# Line 111  namespace libxmltv.Interfaces Line 111  namespace libxmltv.Interfaces
111    
112    
113  #region Property Dictionary support  #region Property Dictionary support
114      public interface IPropertyDictionary : IPropertyDictionary<string,object> { }      public interface IPropertyDictionary : IPropertyDictionary<string, object> { }
115      public interface IPropertyDictionary<TKey, TValue> : IPropertyCollection<IPropertyValuePair<TKey, TValue>>, IEnumerable<IPropertyValuePair<TKey, TValue>>, IEnumerable      public interface IPropertyDictionary<TKey, TValue> : IPropertyCollection<IPropertyValuePair<TKey, TValue>>, IEnumerable<IPropertyValuePair<TKey, TValue>>, IEnumerable
116      {      {
117          IPropertyCollection<TKey> PropertyKeys { get; }          IPropertyCollection<TKey> PropertyKeys { get; }
# Line 153  namespace libxmltv.Interfaces Line 153  namespace libxmltv.Interfaces
153    
154      #region PropertyValuePair support      #region PropertyValuePair support
155    
156      public interface IPropertyValuePair : IPropertyValuePair<string,object>    {      public interface IPropertyValuePair : IPropertyValuePair<string, object>    {    }
     }  
157      public interface IPropertyValuePair<TKey, TValue>      public interface IPropertyValuePair<TKey, TValue>
158      {      {
159          TKey Name { get; }          TKey Name { get; }

Legend:
Removed from v.117  
changed lines
  Added in v.118

  ViewVC Help
Powered by ViewVC 1.1.22