Esempio n. 1
0
 /// <summary>
 /// Construct a new Answers object.
 /// </summary>
 public Answers()
 {
     ansData = new AnswerData();
     try
     {
         ansData.ReadXml(Path.Combine(Settings.AnswerPath, "index.xml"));
     }
     catch (System.IO.FileNotFoundException)
     { }
     catch (System.IO.DirectoryNotFoundException)
     { }
     ansData.CaseSensitive = false;
 }
Esempio n. 2
0
 /// <summary>
 /// Construct a new Answers object.
 /// </summary>
 public Answers()
 {
     ansData = new AnswerData();
     try
     {
         ansData.ReadXml(Path.Combine(Settings.AnswerPath, "index.xml"));
     }
     catch (System.IO.FileNotFoundException)
     { }
     catch (System.IO.DirectoryNotFoundException)
     { }
     ansData.CaseSensitive = false;
 }