/[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

--- trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/10 11:35:26	105
+++ trunk/libxmltv/Interfaces/Interfaces.cs	2013/03/10 12:25:54	106
@@ -44,12 +44,8 @@
         PropertyDictionary MetaData { get; }
     }
 
-    public interface IExtraMetaData
-    {
-    }
-    //public interface IExtraMetaData : IPro
-    //{
-    //}
+    public interface IExtraMetaData : IExtraMetaData<XElement> { }
+    public interface IExtraMetaData<TValue> : IPropertyValuePair<string, TValue> { }
     public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
     public interface IXMLTVChannelCollection : IXMLTVDictionaryCollection<string, IXMLTVChannel> { }
     public interface IXMLTVDictionaryCollection<TKey, TValue> { Dictionary<TKey, TValue> Collection { get; } }
@@ -128,6 +124,7 @@
         bool ContainsProperty(T item);
         void CopyPropertiesTo(T[] array, int arrayIndex);
         bool RemoveProperty(T item);
+        string ToString();
     }
 #endregion
 #region Property List support
@@ -143,7 +140,7 @@
 
         bool ContainsProperty(TKey name, TValue value);
         void AddProperty(TKey name, TValue value);
-        void RemoveProperty(TKey TKey, TValue value);
+        void RemoveProperty(TKey TKey, TValue value);        
     }
 #endregion
 
@@ -155,6 +152,7 @@
     {
         TKey Name { get; }
         TValue Value { get; }
+        string ToString();
     }
     internal class PropertyValuePair : PropertyValuePair<string, object>, IPropertyValuePair
     {

 

  ViewVC Help
Powered by ViewVC 1.1.22