예제 #1
0
 /// <summary>
 /// Construct a new <c>Template object</c>.
 /// </summary>
 public Templates()
 {
     tplData = new TemplateData();
     try
     {
         tplData.ReadXml(Path.Combine(Settings.TemplatePath, "index.xml"));
     }
     catch (System.IO.FileNotFoundException)
     { }
     catch (System.IO.DirectoryNotFoundException)
     { }
     tplData.CaseSensitive = false;
 }
예제 #2
0
 /// <summary>
 /// Construct a new <c>Template object</c>.
 /// </summary>
 public Templates()
 {
     tplData = new TemplateData();
     try
     {
         tplData.ReadXml(Path.Combine(Settings.TemplatePath, "index.xml"));
     }
     catch (System.IO.FileNotFoundException)
     { }
     catch (System.IO.DirectoryNotFoundException)
     { }
     tplData.CaseSensitive = false;
 }