Ejemplo n.º 1
0
 /// <summary>
 /// Constructor for XmlCacheProvider
 /// </summary>
 /// <param name="_rootFolder">This is the folder on the disk where all the information are stored</param>
 public XmlCacheProvider(String _rootFolder)
 {
     m_xmlWriter = new TvdbXmlWriter();
       m_xmlReader = new TvdbXmlReader();
       m_rootFolder = _rootFolder;
       if (!Directory.Exists(_rootFolder))
       {
     Directory.CreateDirectory(_rootFolder);
       }
 }
Ejemplo n.º 2
0
 public XmlCacheProvider(String _rootFolder)
 {
     m_xmlWriter = new TvdbXmlWriter();
       m_xmlReader = new TvdbXmlReader();
       m_rootFolder = _rootFolder;
 }