/[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 90 by william, Sat Mar 9 17:42:34 2013 UTC revision 91 by william, Sat Mar 9 17:48:02 2013 UTC
# Line 37  namespace libxmltv.Interfaces Line 37  namespace libxmltv.Interfaces
37          string Name { get; }          string Name { get; }
38          string ToString();          string ToString();
39      }      }
   
     //public interface IPropertyDictionary : IPropertyDictionary<string, object>    {    }  
     //public interface IPropertyDictionary<TKey,TValue>  
     //{  
     //    Dictionary<TKey, TValue> Properties { get; }  
     //    TValue GetProperty(TKey propertyname);  
     //    void SetProperty(TKey propertyname, TValue propertyvalue);  
     //    bool ContainsProperty(string propertyname);  
   
     //    void AddProperty(TKey propertyname);  
     //    void AddProperty(TKey propertyname, TValue propertyvalue);  
     //    void RemoveProperty(string propertyname);  
     //}  
40      public interface IXMLTVProgram      public interface IXMLTVProgram
41      {      {
42          //int Id { get; }          PropertyDictionary MetaData { get; }
         //DateTime Start { get; }  
         //DateTime Stop { get; }  
         //IXMLTVChannel Channel { get; }  
         //string Title { get; }  
         //string SubTitle { get; }  
         //string Description { get; }  
         //string ToString();  
         PropertyDictionary Properties { get; }  
43      }      }
44    
45      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }      public interface IXMLTVProgramCollection : IXMLTVDictionaryCollection<string, IXMLTVProgram> { }
# Line 120  namespace libxmltv.Interfaces Line 99  namespace libxmltv.Interfaces
99      public interface IRuntimeInstanceLoader<T> { T LoadFromInstance(T instance);    }      public interface IRuntimeInstanceLoader<T> { T LoadFromInstance(T instance);    }
100    
101    
102  #region prop  #region Property Dictionary support
103      public interface IPropertyDictionary : IPropertyDictionary<string,object> { }      public interface IPropertyDictionary : IPropertyDictionary<string,object> { }
104      public interface IPropertyDictionary<TKey, TValue> : IPropertyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable      public interface IPropertyDictionary<TKey, TValue> : IPropertyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
105      {      {

Legend:
Removed from v.90  
changed lines
  Added in v.91

  ViewVC Help
Powered by ViewVC 1.1.22