/[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 105 by william, Sun Mar 10 11:35:26 2013 UTC revision 106 by william, Sun Mar 10 12:25:54 2013 UTC
# Line 44  namespace libxmltv.Interfaces Line 44  namespace libxmltv.Interfaces
44          PropertyDictionary MetaData { get; }          PropertyDictionary MetaData { get; }
45      }      }
46    
47      public interface IExtraMetaData      public interface IExtraMetaData : IExtraMetaData<XElement> { }
48      {      public interface IExtraMetaData<TValue> : IPropertyValuePair<string, TValue> { }
     }  
     //public interface IExtraMetaData : IPro  
     //{  
     //}  
49      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
50      public interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }      public interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }
51      public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }      public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
# Line 128  namespace libxmltv.Interfaces Line 124  namespace libxmltv.Interfaces
124          bool ContainsProperty(T item);          bool ContainsProperty(T item);
125          void CopyPropertiesTo(T[] array, int arrayIndex);          void CopyPropertiesTo(T[] array, int arrayIndex);
126          bool RemoveProperty(T item);          bool RemoveProperty(T item);
127            string ToString();
128      }      }
129  #endregion  #endregion
130  #region Property List support  #region Property List support
# Line 143  namespace libxmltv.Interfaces Line 140  namespace libxmltv.Interfaces
140    
141          bool ContainsProperty(TKey name, TValue value);          bool ContainsProperty(TKey name, TValue value);
142          void AddProperty(TKey name, TValue value);          void AddProperty(TKey name, TValue value);
143          void RemoveProperty(TKey TKey, TValue value);          void RemoveProperty(TKey TKey, TValue value);        
144      }      }
145  #endregion  #endregion
146    
# Line 155  namespace libxmltv.Interfaces Line 152  namespace libxmltv.Interfaces
152      {      {
153          TKey Name { get; }          TKey Name { get; }
154          TValue Value { get; }          TValue Value { get; }
155            string ToString();
156      }      }
157      internal class PropertyValuePair : PropertyValuePair<string, object>, IPropertyValuePair      internal class PropertyValuePair : PropertyValuePair<string, object>, IPropertyValuePair
158      {      {

Legend:
Removed from v.105  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.22