/[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 126 by william, Sun Mar 10 20:19:33 2013 UTC revision 128 by william, Wed Mar 13 13:45:05 2013 UTC
# Line 31  namespace libxmltv.Interfaces Line 31  namespace libxmltv.Interfaces
31          string ToString();          string ToString();
32      }      }
33    
34      //internal interface IChannelList : IDataSourceBindable      public interface IProgramDefinitionList : IList<IProgramDefinition>, IDataSourceSortable, IDataSourceFilterable { }
35      //{      public interface IChannelDefintionList : IList<IChannelDefintion>, IDataSourceSortable, IDataSourceFilterable { }
36      //}  
37      //internal interface IProgramList : IDataSourceBindable  
38      //{      public interface IChannelDefintion
39      //}      {
40            string ChannelId { get; }
41            string ChannelName { get; }
42        }
43        public interface IProgramDefinition
44        {
45            //string ChannelId { get;  }
46            string ChannelName { get; }
47            DateTime Start { get; }
48            DateTime Stop { get; }
49            string Title { get; }
50            string SubTitle { get; }
51            string Description { get; }
52        }
53      public interface IXMLTVChannel      public interface IXMLTVChannel
54      {      {
55          string Id { get; }          string Id { get; }
# Line 58  namespace libxmltv.Interfaces Line 71  namespace libxmltv.Interfaces
71          XElement AsXElement();          XElement AsXElement();
72      }      }
73    
74      public interface IDataSourceBindable      //public interface IDataConverter { object ConvertObjectData(object source); }
75        //public interface IDataConverter<T>
76        //{
77        //    T ConvertData(object source);
78        //}
79        public interface IDataSourceBindable //: IDataConverter
80      {      {
81          object CreateBindableDataSource();          object CreateBindableDataSource(out Type type);
82      }      }
83    
84      public interface IDataSourceFilterable      public interface IDataSourceFilterable

Legend:
Removed from v.126  
changed lines
  Added in v.128

  ViewVC Help
Powered by ViewVC 1.1.22