コード例 #1
0
ファイル: Templates.cs プロジェクト: W800RDY/hotdocs-open-sdk
 /// <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;
 }