/[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 88 by william, Sat Mar 9 14:52:10 2013 UTC revision 122 by william, Sun Mar 10 19:22:06 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 27  namespace libxmltv.Core Line 34  namespace libxmltv.Core
34          //    this.GeneratorName = generatorname;          //    this.GeneratorName = generatorname;
35          //    this.GeneratorUrl = generatorurl;          //    this.GeneratorUrl = generatorurl;
36          //}          //}
37    
38    
39            public object CreateBindableDataSource()
40            {
41                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 = this;
48                return bindable;
49            }
50    
51          public XMLTVSource()          public XMLTVSource()
52              : base(null, XMLTVConstants.Root.RootElement)              : base(null, XMLTVConstants.Root.RootElement)
53          {          {
# Line 112  namespace libxmltv.Core Line 133  namespace libxmltv.Core
133          //public object Clone()          //public object Clone()
134          //{          //{
135          //    return new XMLTVSource(this.SourceName, this.GeneratorName, this.GeneratorUrl);          //    return new XMLTVSource(this.SourceName, this.GeneratorName, this.GeneratorUrl);
136          //}          //}  
137      }      }
138  }  }

Legend:
Removed from v.88  
changed lines
  Added in v.122

  ViewVC Help
Powered by ViewVC 1.1.22