Exemplo n.º 1
0
 /// <summary>Loads the XML configuration.</summary>
 public void Load()
 {
     var xmlSerializer = new XmlSerializer(typeof(BrowserConfig));
     using (var xmlReader = XmlReader.Create(Constants.XmlFile))
     {
         this.Config = (BrowserConfig)xmlSerializer.Deserialize(xmlReader);
     }
 }