/[xmltv_parser]/trunk/libxmltv/Core/DataSourceBindable.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/DataSourceBindable.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 120 by william, Sun Mar 10 18:19:12 2013 UTC revision 121 by william, Sun Mar 10 18:30:13 2013 UTC
# Line 8  namespace libxmltv.Core Line 8  namespace libxmltv.Core
8  {  {
9      public class ChannelList : List<IXMLTVChannel>, IDataSourceBindable      public class ChannelList : List<IXMLTVChannel>, IDataSourceBindable
10      {      {
11            static private List<string> known_columns;
12            static ChannelList()
13            {
14                known_columns = new List<string>();
15                known_columns.Add("Id");
16                known_columns.Add("Name");
17            }
18          public ChannelList() { }          public ChannelList() { }
19    
20          public object CreateBindableDataSource()          public object CreateBindableDataSource()
# Line 18  namespace libxmltv.Core Line 25  namespace libxmltv.Core
25      }      }
26      public class ProgramList : List<IXMLTVProgram>, IDataSourceBindable      public class ProgramList : List<IXMLTVProgram>, IDataSourceBindable
27      {      {
28            static private List<string> known_columns;
29            static ProgramList()
30            {
31                known_columns = new List<string>();
32                known_columns.Add("Channel");
33                known_columns.Add("Title");
34                known_columns.Add("Sub-Title");
35                known_columns.Add("Description");
36                known_columns.Add("Start");
37                known_columns.Add("End");
38            }
39          public ProgramList() { }          public ProgramList() { }
40    
41          public object CreateBindableDataSource()          public object CreateBindableDataSource()
42          {          {
43              object bindable = new object();              object bindable = new object();
44    
45                
46    
47              return bindable;              return bindable;
48          }          }
49      }      }
50      public class ExtraList : List<IExtraMetaData>, IDataSourceBindable      public class ExtraList : List<IExtraMetaData>, IDataSourceBindable
51      {      {
52    
53          public ExtraList() { }          public ExtraList() { }
54    
55          public object CreateBindableDataSource()          public object CreateBindableDataSource()

Legend:
Removed from v.120  
changed lines
  Added in v.121

  ViewVC Help
Powered by ViewVC 1.1.22