6 |
using System.Diagnostics; |
using System.Diagnostics; |
7 |
using System.Xml.Linq; |
using System.Xml.Linq; |
8 |
using System.Reflection; |
using System.Reflection; |
9 |
|
using System.IO; |
10 |
|
|
11 |
namespace libxmltv.Core |
namespace libxmltv.Core |
12 |
{ |
{ |
36 |
} |
} |
37 |
public XMLTVSource(XMLTVRuntimeInstance instance) : base(instance, XMLTVConstants.ROOT_ELEMENT) |
public XMLTVSource(XMLTVRuntimeInstance instance) : base(instance, XMLTVConstants.ROOT_ELEMENT) |
38 |
{ |
{ |
39 |
|
try { |
40 |
xmltv_logger.Verbose.Debug.WriteLine("Creating Instance of XMLTVSource"); |
xmltv_logger.Verbose.Debug.WriteLine("Creating Instance of XMLTVSource"); |
41 |
Create(); |
Create(); |
42 |
xmltv_logger.Verbose.Debug.WriteLine("Created Instance of XMLTVSource '{0}'", SourceName); |
xmltv_logger.Verbose.Debug.WriteLine("Created Instance of XMLTVSource '{0}'", SourceName); |
43 |
UpdateInstance(); |
UpdateInstance(); |
44 |
|
} |
45 |
|
catch (IOException ex) { Debug.WriteLine(ex.ToString()); } |
46 |
} |
} |
47 |
|
|
48 |
private void UpdateInstance() |
private void UpdateInstance() |