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

Diff of /trunk/libxmltv/Core/XMLTVSource.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 13  namespace libxmltv.Core Line 13  namespace libxmltv.Core
13      [Serializable]      [Serializable]
14      internal class XMLTVSource : XMLTVBase<XMLTVRuntimeInstance>, IXMLTVSource, IDisposable//, ICloneable      internal class XMLTVSource : XMLTVBase<XMLTVRuntimeInstance>, IXMLTVSource, IDisposable//, ICloneable
15      {      {
16            //static private List<string> known_columns;
17            //static XMLTVSource()
18            //{
19            //    known_columns.Add("Source Name");
20            //    known_columns.Add("Generator Name");
21            //    known_columns.Add("Generator Url");
22            //}
23                
24          private Dictionary<string, string> entries = new Dictionary<string, string>();          private Dictionary<string, string> entries = new Dictionary<string, string>();
25          //internal static void CreateInstance(XMLTVRuntimeInstance xmltv)          //internal static void CreateInstance(XMLTVRuntimeInstance xmltv)
# Line 31  namespace libxmltv.Core Line 38  namespace libxmltv.Core
38    
39          public object CreateBindableDataSource()          public object CreateBindableDataSource()
40          {          {
41              throw new NotImplementedException();              object bindable = new object();
42    
43                List<PropertyValuePair> list = new List<PropertyValuePair>();
44                list.Add(new PropertyValuePair("Source Name", SourceName));
45                list.Add(new PropertyValuePair("Generator Name", GeneratorName));
46                list.Add(new PropertyValuePair("Generator Url", GeneratorUrl));
47                bindable = list;
48                return bindable;
49          }          }
50    
51          public XMLTVSource()          public XMLTVSource()

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

  ViewVC Help
Powered by ViewVC 1.1.22