4 |
using System.Text; |
using System.Text; |
5 |
using libxmltv.Interfaces; |
using libxmltv.Interfaces; |
6 |
using System.IO; |
using System.IO; |
7 |
|
using Enterprise.Logging; |
8 |
|
|
9 |
namespace libxmltv.Core |
namespace libxmltv.Core |
10 |
{ |
{ |
15 |
{ |
{ |
16 |
public static object CreateLoader(string xml_file) |
public static object CreateLoader(string xml_file) |
17 |
{ |
{ |
18 |
|
xmltv_logger.Initialize(); |
19 |
|
xmltv_logger.Log.Debug.WriteLine("Logged from XMLTV.CreateLoader"); |
20 |
XMLTV_LOADER loader = new XMLTV_LOADER(xml_file); |
XMLTV_LOADER loader = new XMLTV_LOADER(xml_file); |
21 |
return loader; |
return loader; |
22 |
} |
} |
47 |
private string xmlfile = string.Empty; |
private string xmlfile = string.Empty; |
48 |
public XMLTV_LOADER(string xml_file) |
public XMLTV_LOADER(string xml_file) |
49 |
{ |
{ |
50 |
xmlfile = xml_file; |
xmlfile = xml_file; |
51 |
} |
} |
52 |
#region IXMLTV_LOADER |
#region IXMLTV_LOADER |
53 |
public FileInfo XmlFile { get { return new FileInfo(xmlfile); } } |
public FileInfo XmlFile { get { return new FileInfo(xmlfile); } } |