/[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 107 by william, Sun Mar 10 12:58:40 2013 UTC revision 110 by william, Sun Mar 10 14:28:57 2013 UTC
# Line 43  namespace libxmltv.Interfaces Line 43  namespace libxmltv.Interfaces
43      {      {
44          PropertyDictionary MetaData { get; }          PropertyDictionary MetaData { get; }
45      }      }
46        
47      public interface IExtraMetaData : IExtraMetaData<XElement> { }      public interface IExtraMetaData : IExtraMetaData<string, string> { }
48      public interface IExtraMetaData<TValue> : IExtraMetaData<string, TValue> { }      public interface IExtraMetaData<TKey, TValue> : IPropertyValuePair<TKey, TValue>
49      public interface IExtraMetaData<TKey, TValue> : IPropertyValuePair<TKey, TValue> { }      {
50            XElement AsXElement();
51        }
52      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
53      public interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }      public interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }
54      public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }      public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
# Line 155  namespace libxmltv.Interfaces Line 157  namespace libxmltv.Interfaces
157          TValue Value { get; }          TValue Value { get; }
158          string ToString();          string ToString();
159      }      }
160        [Serializable]
161      internal class PropertyValuePair : PropertyValuePair<string, object>, IPropertyValuePair      internal class PropertyValuePair : PropertyValuePair<string, object>, IPropertyValuePair
162      {      {
163          public PropertyValuePair() :base() { }          public PropertyValuePair() :base() { }
164          public PropertyValuePair(string name, object value) : base(name,value) { }          public PropertyValuePair(string name, object value) : base(name,value) { }
165      }      }
166        [Serializable]
167      internal class PropertyValuePair<TKey, TValue> : IPropertyValuePair<TKey,TValue>      internal class PropertyValuePair<TKey, TValue> : IPropertyValuePair<TKey,TValue>
168      {      {
169          #region KeyValuePair support          #region KeyValuePair support

Legend:
Removed from v.107  
changed lines
  Added in v.110

  ViewVC Help
Powered by ViewVC 1.1.22